Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Source Code Repository

Joget Workflow Source code is available at https://github.com/jogetworkflow/jw-community.

Image Added

You can view other version source code by using the branch switcher in github platform.

Build Source Code

1. Install Prerequisites

  • Install JDK 6 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 

 

3. Obtain Source

While writing this guide, the latest 5.0 version source code is 5.0-BETA12. You can obtain the source code by following method.

Direct Download

You will found the following download button on right sidebar.

Image Added

Checkout using Subversion Client

Code Block
languagebash
svn co https://github.com/jogetworkflow/jw-community/branches/5.0-BETA12

Clone using Github Client 

        Refer to set up git to initial your Github account. 

Code Block
languagebash
git clone https://github.com/jogetworkflow/jw-community.git --branch 5.0-BETA12

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.

    Code Block
    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.

    Code Block
    languagebash
    cd wflow-app
    mvn clean install