3.获取来源

 

mkdir joget_src
cd joget_src
git clone https://github.com/jogetworkflow/jw-community.git --branch 5.0-SNAPSHOT
cd ~

 

4.配置测试用例的数据源

创建数据库。

 

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

 

下载  wflow.zip并在您的用户家中提取。

 

unzip -a wflow.zip
cd wflow
nano app_datasource-default.properties

 

确保“app_datasource-default.properties”中的配置是正确的。

 

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

 

5.建设项目

 

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

 

 

以下说明适用于Debian或Ubuntu Linux。对于其他Linux发行版,请相应调整命令。

 

1. 安装先决条件

2. 安装第三方库

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. 获取源码

mkdir joget_src
cd joget_src
git clone https://github.com/jogetworkflow/jw-community.git --branch 5.0-SNAPSHOT
cd ~

4. Configure Datasource for Test Case

Create database.

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

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