Source Code Repository
Joget Workflow Source code is available at https://github.com/jogetworkflow/jw-community.
You can view other version source code by using the branch switcher in github platform.
Build Source Code
1. Install Prerequisites
- Install JDK 7 or above. Please make sure "JAVA_HOME" is set.
- Install MySQL 5 or above.
- Install Apache Maven 2.2.1 or above. Please make sure "mvn" command is able to execute from command line.
- Install Subversion Client or Github Client.
2. Install 3rd Party Libraries
- Download install-libraries.zip.
- In the exacted folder, run "install_linux.sh" for Linux and Mac or run "install_win.bat" for Window.
3. Obtain Source
While writing this guide, the latest 5.0 version source code is 5.0-SNAPSHOT. You can obtain the source code by following method.
Direct Download
You will found the following download button on right sidebar.
Checkout using Subversion Client
svn co https://github.com/jogetworkflow/jw-community/branches/5.0-SNAPSHOT
Clone using Github Client
Refer to set up git to initial your Github account.
git clone https://github.com/jogetworkflow/jw-community.git --branch 5.0-SNAPSHOT
4. Configure Datasource for Test Case
- Joget workflow has test cases that required database access.
- To configure a datasource, navigate to your user home.
- e.g., In window: cd C:\Users\myuser\ .
- e.g., In Ubuntu: cd /home/myuser/
- e.g., In Mac: cd /Users/myuser/
- Download wflow.zip and extract in your user home.
- You will found "app_datasource.properties" and "app_datasource-default.properties" exist in your "wflow" folder.
Configure "app_datasource-default.properties" with your MySql server username and password.
workflowDriver=com.mysql.jdbc.Driver workflowUrl=jdbc\:mysql\://localhost\:3306/jwdb?characterEncoding\=UTF-8 workflowUser=root profileName= workflowPassword=root
- Create a "jwdb" database in your MySql Server with "jwdb-empty.sql" file located in the source code directory "wflow-install/src/main/resources/data/".
5. Build Project
- Navigate into wflow-app directory in source code directory.
Build the wflow-app directory using maven command.
cd wflow-app mvn clean install