下载完,解压后,打开目录 wars
2.找个干净的 tomcat8
把 wars 文件目录里面的
flowable-admin.war flowable-idm.war flowable-modeler.war flowable-rest.war flowable-task.war
共 5 个 war包放到tomact的 webapps 目录
会等待一段时间,所有war包都解压后
4.找到每个项目中的
比如:webappsflowable-adminWEB-INFclasses application-dev.properties 这样的配置文件
修改:改成自己的数据库链接地址,数据库名flowable 自己创建,从flowable-6.5.0.zip里面database下面的creat/all 下的sql 脚本执行去建表 86张表
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.username=root spring.datasource.password=root
flowable.admin.app.server-config.process.port=9999 flowable.admin.app.server-config.cmmn.port=9999 flowable.admin.app.server-config.app.port=9999 flowable.admin.app.server-config.dmn.port=9999 flowable.admin.app.server-config.form.port=9999 flowable.admin.app.server-config.content.port=9999
修改webappsflowable-adminWEB-INFclasses flowable-default.properties, 主要就是修改数据库链接上,改成mysql的. java 框架大全 :www.1b23.com
server.port=9988 server.servlet.context-path=/flowable-admin management.endpoints.jmx.unique-names=true
spring.aop.proxy-target-class=false spring.aop.auto=false spring.application.name=flowable-ui-admin spring.liquibase.enabled=false spring.servlet.multipart.max-file-size=10MB spring.banner.location=classpath:/org/flowable/spring/boot/flowable-banner.txt
spring.jmx.default-domain=${spring.application.name}
management.endpoints.web.exposure.include=*
management.endpoint.health.show-details=when_authorized
management.endpoint.health.roles=access-admin
flowable.common.app.role-prefix=
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.username=root spring.datasource.password=root
都正常启动后,需要时间久点
访问 http://127.0.0.1:8080/flowable-admin 用户名 admin 密码 text
访问 http://127.0.0.1:8080/flowable-idm 用户名 admin 密码 text
访问 http://127.0.0.1:8080/flowable-modeler 用户名 admin 密码 text