flowable6.3-Flowable-UI部署

下载地址

https://github.com/flowable/flowable-engine/releases/tag/flowable-6.3.0

部署

tomcat

需要tomcat9以上

复制 war 包

wars文件夹下的flowable-admin.war、flowable-idm.war、flowable-modeler.war与flowable-task.war文件,复制到Tomcat的webapps文件夹下

mysql 驱动

mysql-connector-java-5.1.47.jar 驱动复制到每个应用的 WEB-INF\lib 目录下

修改配置文件

修改每个应用的 WEB-INF\classes\application.properties 文件

将下面两行代码注释掉:

#spring.datasource.driver-class-name=org.h2.Driver
#spring.datasource.url=jdbc:h2:tcp://localhost/flowableadmin

将下面两行代码放开:

spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/flowable?characterEncoding=UTF-8

修改mysql用户名、密码:

spring.datasource.username=root
spring.datasource.password=root

启动

运行 bin/startup.sh(在Mac OS或Linux下)

运行 bin/startup.bat(在Windows下)脚本

启动Tomcat服务器

访问

打开web浏览器,访问 http://localhost:8080/flowable-modeler

用户名:admin
密码:test


原文出处:http://malaoshi.top/show_1IX5YqWX36hr.html