Steps for setting up the project are described below;
-
Download and install the latest Wildfly application server from http://wildfly.org/downloads/
-
Download and install the community edition of IntelliJ IDEA integrated development environment from http://www.jetbrains.com/idea/download/
-
Clone the project from https://github.com/proavos/onlineticketing
git clone https://github.com/proavos/onlineticketing
-
Import the project into IntelliJ Idea as a Maven project
-
Setup MySQL datasource in Wildfly server as follows a. Define module under <WILDFLY_HOME>/modules/system/layers/base/com/mysql for mysql with the driver library included b. Add datasource definition to <WILDFLY_HOME>/standalone/configuration/standalone.xml
-
Start the Wildfly server in standalone mode
sh <WILDFLY_HOME>/bin/standalone.sh
- Build and deploy the project
cd /onlineticketing mvn clean package wildfly:deploy
Note: You may integrate the Wildfly server into IntelliJ Idea and start the server from with in the IDE