flowable-6.7(二)官方flowable-ui启动
1.下载(注意不是下载源码)
官网下载:https://www.flowable.com/open-source-download
github下载:https://github.com/flowable/flowable-engine/releases
2.解压
解压后在wars
文件夹下会看到俩个war包flowable-rest.war
和flowable-ui.war
,flowable-rest.war
是用于rest api此处不使用
ps:有很多教程会看到5个war包是因为版本不同
3.启动flowable-ui.war
直接使用java -jar flowable-ui.war
命令启动即可(ps:使用tomcat运行无法访问)
默认启动的数据库是h2 数据库,如果想使用其他数据库修改配置即可
#spring.datasource.driver-class-name=org.h2.Driver
spring.datasource.url=jdbc:h2:~/flowable-db/engine-db;AUTO_SERVER=TRUE;AUTO_SERVER_PORT=9093;DB_CLOSE_DELAY=-1
#spring.datasource.driver-class-name=com.mysql.jdbc.Driver
#spring.datasource.url=jdbc:mysql://127.0.0.1:3306/flowable?characterEncoding=UTF-8
#spring.datasource.driver-class-name=org.postgresql.Driver
#spring.datasource.url=jdbc:postgresql://localhost:5432/flowable
#spring.datasource.driver-class-name=com.microsoft.sqlserver.jdbc.SQLServerDriver
#spring.datasource.url=jdbc:sqlserver://localhost:1433;databaseName=flowablea
#spring.datasource.driver-class-name=oracle.jdbc.driver.OracleDriver
#spring.datasource.url=jdbc:oracle:thin:@localhost:1521:FLOWABLE
#spring.datasource.driver-class-name=com.ibm.db2.jcc.DB2Driver
#spring.datasource.url=jdbc:db2://localhost:50000/flowable
spring.datasource.username=flowable
spring.datasource.password=flowable
4.浏览器请求http://127.0.0.1:8080/flowable-ui
默认进入登录页面,默认的用户/密码:admin/test
首页展示就是flowable的几大应用,可以开始使用了