温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

flowable的工作流程

发布时间:2021-07-12 09:33:52 来源:亿速云 阅读:320 作者:chen 栏目:编程语言

这篇文章主要介绍“flowable的工作流程”,在日常操作中,相信很多人在flowable的工作流程问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”flowable的工作流程”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!

1. 从官网下载 flowable-6.5.0 :  https://flowable.com/open-source/downloads/

下载完,解压后,打开目录 wars

2.找个干净的 tomcat8 

把 wars 文件目录里面的

flowable-admin.war  flowable-idm.war  flowable-modeler.war  flowable-rest.war  flowable-task.war

共 5 个 war包放到tomact的 webapps 目录

3. 然后找到 tomcat / bin / startup.bat 启动 tomcat

会等待一段时间,所有war包都解压后

4.找到每个项目中的。 项目 ww.fhadmin.org

比如:\webapps\flowable-admin\WEB-INF\classes  application-dev.properties 这样的配置文件

修改:改成自己的数据库链接地址,数据库名flowable 自己创建,从flowable-6.5.0.zip里面database下面的creat/all 下的sql 脚本执行去建表 86张表

spring.datasource.driver-class-name=com.mysql.jdbc.Driverspring.datasource.url=jdbc:mysql://127.0.0.1:3306/flowable?characterEncoding=UTF-8spring.datasource.username=rootspring.datasource.password=rootflowable.admin.app.server-config.process.port=9999flowable.admin.app.server-config.cmmn.port=9999flowable.admin.app.server-config.app.port=9999flowable.admin.app.server-config.dmn.port=9999flowable.admin.app.server-config.form.port=9999flowable.admin.app.server-config.content.port=9999

修改\webapps\flowable-admin\WEB-INF\classes  flowable-default.properties, 主要就是修改数据库链接上,改成mysql的.  项目 ww.fhadmin.org

server.port=9988server.servlet.context-path=/flowable-adminmanagement.endpoints.jmx.unique-names=true# This is needed to force use of JDK proxies instead of using CGLIBspring.aop.proxy-target-class=falsespring.aop.auto=falsespring.application.name=flowable-ui-adminspring.liquibase.enabled=falsespring.servlet.multipart.max-file-size=10MBspring.banner.location=classpath:/org/flowable/spring/boot/flowable-banner.txt# The default domain for generating ObjectNames must be specified. Otherwise when multiple Spring Boot applications start in the same servlet container# all would be created with the same name (com.zaxxer.hikari:name=dataSource,type=HikariDataSource) for examplespring.jmx.default-domain=${spring.application.name}# Expose all actuator endpoints to the web# They are exposed, but only authenticated users can see /info and /health abd users with access-admin can see the othersmanagement.endpoints.web.exposure.include=*# Full health details should only be displayed when a user is authorizedmanagement.endpoint.health.show-details=when_authorized# Only users with role access-admin can access full health detailsmanagement.endpoint.health.roles=access-admin# Spring prefixes the roles with ROLE_. However, Flowable does not have that concept yet, so we need to override that with an empty stringflowable.common.app.role-prefix=# H2 example (default)#spring.datasource.driver-class-name=org.h3.Driver#spring.datasource.url=jdbc:h3:tcp://localhost/flowableadmin#spring.datasource.url=jdbc:h3:~/flowable-db/db;AUTO_SERVER=TRUE;AUTO_SERVER_PORT=9091;DB_CLOSE_DELAY=-1spring.datasource.driver-class-name=com.mysql.jdbc.Driverspring.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/flowableadmin#spring.datasource.driver-class-name=com.microsoft.sqlserver.jdbc.SQLServerDriver#spring.datasource.url=jdbc:sqlserver://localhost:1433;databaseName=flowableadmin#spring.datasource.driver-class-name=oracle.jdbc.driver.OracleDriver#spring.datasource.url=jdbc:oracle:thin:@localhost:1521:FLOWABLEADMIN#spring.datasource.driver-class-name=com.ibm.db2.jcc.DB2Driver#spring.datasource.url=jdbc:db2://localhost:50000/flowableadminspring.datasource.username=rootspring.datasource.password=root

5. 几个项目的都修改完,关闭之前运行的tomcat ,重新启动

都正常启动后,需要时间久点

访问 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

到此,关于“flowable的工作流程”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注亿速云网站,小编会继续努力为大家带来更多实用的文章!

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI