关于整合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.找到每个项目中的 ( www.1b23.com flowable项目源码)

比如:\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.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

flowable 项目源码 :www.1b23.com

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

server.port=9988

server.servlet.context-path=/flowable-admin

management.endpoints.jmx.unique-names=true

# This is needed to force use of JDK proxies instead of using CGLIB

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

# 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 example

spring.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 others

management.endpoints.web.exposure.include=*

# Full health details should only be displayed when a user is authorized

management.endpoint.health.show-details=when_authorized

# Only users with role access-admin can access full health details

management.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 string

flowable.common.app.role-prefix=

# H2 example (default)

#spring.datasource.driver-class-name=org.h2.Driver

#spring.datasource.url=jdbc:h2:tcp://localhost/flowableadmin

#spring.datasource.url=jdbc:h2:~/flowable-db/db;AUTO_SERVER=TRUE;AUTO_SERVER_PORT=9091;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/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/flowableadmin

spring.datasource.username=root

spring.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

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
好的,现在我们来讨论一下整合flowable流程开源框架——flowable笔记的环境配置。在开始配置之前,我们需要确保已经安装了以下软件: - JDK 8 或以上版本 - Maven 3.3 或以上版本 - Git 接下来,我们可以按照以下步骤进行环境配置: 1. 克隆 flowable笔记 项目 ```bash git clone https://github.com/flowable/flowable-engine.git ``` 2. 进入项目目录 ```bash cd flowable-engine ``` 3. 切换到需要的分支 ```bash git checkout 6.6.0 ``` 4. 构建项目 ```bash mvn clean install -DskipTests ``` 5. 配置数据库 在 `$FLOWABLE_HOME/modules/flowable-ui-admin/flowable-ui-admin-app/src/main/resources/application.yml` 文件中,找到以下配置: ```yaml spring: datasource: url: jdbc:h2:mem:flowable;DB_CLOSE_DELAY=-1 driverClassName: org.h2.Driver username: sa password: ``` 修改为: ```yaml spring: datasource: url: jdbc:mysql://localhost:3306/flowable?characterEncoding=UTF-8 driverClassName: com.mysql.jdbc.Driver username: root password: root ``` 其中,`jdbc:mysql://localhost:3306/flowable` 表示数据库的连接地址,`com.mysql.jdbc.Driver` 表示数据库驱动程序的类名,`root` 表示数据库的用户名和密码。 6. 运行项目 ```bash cd modules/flowable-ui-admin/flowable-ui-admin-app mvn spring-boot:run ``` 7. 访问项目 在浏览器中输入 `http://localhost:8080/flowable-ui/admin`,即可访问 flowable笔记 项目的管理界面。 以上就是整合flowable流程开源框架——flowable笔记的环境配置步骤。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值