Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CONTRIBUTING.md: add asciidoctor as a dependency #59

Open
wants to merge 2 commits into
base: 2.7.0.Final-with-tutorials
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tutorial/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ Each section of the tutorial is contained in a `.asciidoc` file in this git repo
* [AsciiDoc](http://www.methods.co.nz/asciidoc/index.html) installed. It's available via most major packaging systems (e.g. Debian, Fedora Extra, MacPorts), and has a Windows installer.
* You'll also need pygments for syntax highlighting. It's available as a python egg. Easiest to install via `easy_install` e.g. `sudo easy_install pygments`.
* dblatex, once again available in most major packaging systems, or as a python egg e.g. `sudo easy_install dblatex`
* asciidoctor, also available in most major packaging systems, or as a ruby gem -- as explained at http://asciidoctor.org/docs/install-toolchain/

Once you have installed AsciiDoc, you can build individual sections by invoking `asciidoc -b <output of choice> <section.txt>`. If you want to generate the whole tutorial as html, you can call `./generate-guides.sh`.
4 changes: 2 additions & 2 deletions tutorial/JBossDeployment.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ mvn clean package jboss-as:deploy -Pmysql -s TICKETMONSTER_MAVEN_PROJECT_ROOT/se
Just like MySQL, you can deploy TicketMonster to JBoss EAP, making use of a 'real' database like PostgreSQL, instead of the default in-memory H2 database. You can follow the procedure outlined as follows:

. Install the PostgreSQL JBDC driver as a new JBoss module.
.. Define a new JBoss module named `com.mysql` under the `modules` directory of the JBoss EAP installation. Under the `modules/system/layers/base` directory structure, create a directory named `org`, containing sub-directory named `postgresql`, containing a sub-directory named `main`. Place the PostgreSQL JBDC driver in the `main` directory. Finally, define the module via a `module.xml` file with the following contents:
.. Define a new JBoss module named `org.postgresql` under the `modules` directory of the JBoss EAP installation. Under the `modules/system/layers/base` directory structure, create a directory named `org`, containing sub-directory named `postgresql`, containing a sub-directory named `main`. Place the PostgreSQL JBDC driver in the `main` directory. Finally, define the module via a `module.xml` file with the following contents:
+
.EAP_HOME/system/layers/base/com/mysql/main/module.xml
----
Expand Down Expand Up @@ -251,4 +251,4 @@ mvn clean package jboss-as:deploy -Ppostgresql
+
----
mvn clean package jboss-as:deploy -Ppostgresql -s TICKETMONSTER_MAVEN_PROJECT_ROOT/settings.xml
----
----