# springboot-flowable-ui **Repository Path**: miao-yongyong/springboot-flowable-ui ## Basic Information - **Project Name**: springboot-flowable-ui - **Description**: spring boot集成flowable-modeler,可以画流程图、用例图、定义规则、定义表单,已经汉化了。 - **Primary Language**: Java - **License**: Unlicense - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 37 - **Created**: 2021-11-18 - **Last Updated**: 2021-11-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ------ 环境: [jkd8+]() [Flowable6.4.0]() [mysql5.6+]() [spring boot2.0.7]() ------ ## 一、整合spring boot 新建springboot项目 ## 二、整合flowable-modeler - [下载flowable war包](https://github.com/flowable/flowable-engine/releases/download/flowable-6.4.0/flowable-6.4.0.zip) - 解压flowable-modeler.war - 复制静态文件到项目中 ``` 将flowable-modeler\WEB-INF\classes\static下的所有文件复制到src\main\resources\static\modeler下 ``` - 添加拦截器配置类StaticResourceConfig 由于springboot2.0.1之后的版本会拦截static下面的静态资源,故需要添加一个拦截器,不拦截static下面的静态资源 - 汉化处理 拷贝文件: ``` 将flowable源码中的flowable-ui-modeler-logic项目下的src\main\resources\stencilset_bpmn.json、src\main\resources\stencilset_cmmn.json ``` 翻译此两个文件中的title和description的值。 ## 三、创建数据库 ​ 根据/src/main/resources/application.properties配置的环境,修改对应的/src/main/resources/application-**dev**.properties或/src/main/resources/application-**test**.properties中数据源的配置。 ## 四、启动 - 浏览器访问: ``` http://localhost:9999/modeler/index.html ``` - 部署流程测试: ``` http://localhost:9999/process/deploy ```