1 Star 0 Fork 37

髙岐 / springboot-flowable-ui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Unlicense

环境:

jkd8+

Flowable6.4.0

mysql5.6+

spring boot2.0.7


一、整合spring boot

新建springboot项目

二、整合flowable-modeler

将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
This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. For more information, please refer to <http://unlicense.org>

简介

spring boot集成flowable-modeler,可以画流程图、用例图、定义规则、定义表单,已经汉化了。 展开 收起
Java
Unlicense
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/sylar_gao/springboot-flowable-ui.git
git@gitee.com:sylar_gao/springboot-flowable-ui.git
sylar_gao
springboot-flowable-ui
springboot-flowable-ui
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891