Joget DX Available for Download

Check out Joget DX, the next generation successor to Joget Workflow for faster, simpler digital transformation.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Skipping test during the build; we're just building and installing the sources here, testing is pointless.

...

  • Install JDK 8. Please make sure "JAVA_HOME" is set.

    Code Block
    $ sudo apt-get update
    $ sudo apt-get install default-jdk

    For more detail, you can refer to https://www.digitalocean.com/community/tutorials/how-to-install-java-on-ubuntu-with-apt-get

    Set the "JAVA_HOME" by edit the file /etc/environment

    Code Block
    $ sudo nano /etc/environment

    In this file, add the following line :

    Code Block
    JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64"

    Now reload the file and test:

    Code Block
    $ source /etc/environment
    $ echo $JAVA_HOME
  • Install MySQL 5.5 or above.

    Code Block
    sudo apt-get install mysql-server
    sudo service mysql start

    Install Apache Maven 2.2.1 or above. Please make sure "mvn" command is able to execute from command line.

    Code Block
    $ sudo apt-get install maven
    $ mvn -version
  • Install Github ClientInstall GitHub Client.

    Code Block
    $ sudo apt-get install git
    $ git --version

2. Install 3rd Party Libraries

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

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

4.

...

Create database.

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

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

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

...

Build Project

Code Block
$ cd ~/joget_src/jw-community/wflow-app/
$ mvn clean install -Dmaven.test.skip=true