The following instructions are for Debian or Ubuntu Linux. For other Linux distributions, please adapt the commands accordingly.

1. Install Prerequisites

2. Install 3rd Party Libraries

$ wget http://dev.joget.org/community/download/attachments/19104566/install-libraries.zip
$ unzip -a install-libraries.zip
$ cd install-libraries
$ ./install_linux.sh
$ cd ~

3. Obtain Source

$ mkdir joget_src
$ cd joget_src
$ git clone https://github.com/jogetworkflow/jw-community.git --branch 6.0-SNAPSHOT --depth 1
$ cd ~

4. Configure Datasource for Test Case

Prepare the database for Joget usage.

$ mysql -uroot
$ create database jwdb;
$ exit
$ mysql -uroot jwdb < joget_src/jw-community/wflow-install/src/main/resources/data/jwdb-empty.sql

Download wflow.zip and extract in your user home.

$ wget http://dev.joget.org/community/download/attachments/19104566/wflow.zip
$ unzip -a wflow.zip
$ cd wflow
$ nano app_datasource-default.properties

Make sure the configuration in app_datasource-default.properties is correct.

workflowDriver=com.mysql.jdbc.Driver
workflowUrl=jdbc\:mysql\://localhost\:3306/jwdb?characterEncoding\=UTF-8
workflowUser=root
profileName=
workflowPassword=

5. Build Project

It is NOT recommended to skip unit tests in Joget, to ensure build integrity.

$ cd ~/joget_src/jw-community/wflow-app/
$ mvn clean install