一、到github下载
https://github.com/flowable/flowable-engine/releases/tag/flowable-6.8.0
二、得到flowable-6.8.0.zip文件,进入flowable-6.8.0\wars考出flowable-ui.war,用360或者其他解压软件解压,得到flowable-ui
三、进入flowable-6.8.0\database\create\all,考出flowable.mysql.all.create.sql,建一个mysql库如test-flowable,然后执行这个sql文件即可。
四、进入flowable-ui\WEB-INF\classes,修改flowable-default.properties的这4项(千万不要直接在压缩软件里操作,要解压出来,要不然war运行不了)
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/test-flowable?useUnicode=true&characterEncoding=UTF8&useSSL=false&allowMultiQueries=true
spring.datasource.username=root
spring.datasource.password=xxxx
五、把mysql-connector-java-8.0.30.jar考到flowable-ui\WEB-INF\lib
六、重新压缩,记得压缩方式选“存储”,要不然war运行不了。
七、执行命令运行就行,不用装tomcat:
cd D:\soft\flowable6.8
java -jar -Dserver.port=8917 flowable-ui.war
启动过程特别久,大概几分钟这样,千万别关,中途中断重新运行会出问题。如果中途中断,就重新删库重新导,然后重新运行。
账号密码admin、test