更新环境安装教程
This commit is contained in:
		
							parent
							
								
									d865dc091b
								
							
						
					
					
						commit
						8de1a75619
					
				| @ -1,4 +1,4 @@ | ||||
| ## 平台简介 | ||||
| ## 电产院财务管理平台简介 | ||||
| [](https://gitee.com/KonBAI-Q/ruoyi-flowable-plus/stargazers) | ||||
| [](https://github.com/KonBAI-Q/RuoYi-Flowable-Plus/stargazers) | ||||
| [](https://gitee.com/KonBAI-Q/ruoyi-flowable-plus/blob/master/LICENSE) | ||||
| @ -12,9 +12,6 @@ | ||||
| - 采用`MIT开源协议`,完全免费给个人及企业使用。 | ||||
| - 项目处于开发阶段,工作流流程还存在不足。因此,目前仅推荐用于学习、毕业设计等个人使用。 | ||||
| 
 | ||||
| ## 赞助商 | ||||
| [](http://ccflow.org/?frm=KonBAI) | ||||
| 
 | ||||
| ## 参考文档 | ||||
| - 项目文档:[RuoYi-Flowable-Plus开发文档](http://rfp-doc.konbai.work) | ||||
| - 脚手架文档:[RuoYi-Vue-Plus文档](https://gitee.com/dromara/RuoYi-Vue-Plus/wikis/pages) | ||||
|  | ||||
							
								
								
									
										73
									
								
								环境配置.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										73
									
								
								环境配置.md
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,73 @@ | ||||
| ## Ruoyi-flowable-plus环境配置指南 | ||||
| 
 | ||||
| > 版本 1.0  更新日期:2024/06/11  作者:詹力 | ||||
| > | ||||
| > 参考:https://plus-doc.dromara.org/#/ruoyi-vue-plus/quickstart/init | ||||
| 
 | ||||
| 		Ruoyi-flowable-plus是一个支持工作流的若依后台管理框架。工作流的的支持可以有效解决流程审核和流程跟踪等问题。 | ||||
| 
 | ||||
| ## 一、后端配置 | ||||
| 
 | ||||
| #### 1.1 软件与环境准备 | ||||
| 
 | ||||
| 		下面的软件环境在裸机环境下实测可以运行。 | ||||
| 
 | ||||
| > 网盘地址:http://logzhan.ticp.io:52440  账号:uestc 密码:123   | ||||
| > | ||||
| > 1. IDE : [IntelliJ IDEA 2022.1.3 (Ultimate Edition)](http://logzhan.ticp.io:52440/web%E5%BC%80%E5%8F%91/IDEA-2022.1.3) | ||||
| > 2. NodeJs : [NodeJS 14.14](http://logzhan.ticp.io:52440/d/%E6%88%91%E7%9A%84%E5%A4%87%E4%BB%BD/logzhan%E7%9A%84%E4%BA%91%E7%9B%98/web%E5%BC%80%E5%8F%91/node-v14.14.0-x64.msi) | ||||
| > 3. Redis  : [下载地址](http://logzhan.ticp.io:52440/d/%E6%88%91%E7%9A%84%E5%A4%87%E4%BB%BD/logzhan%E7%9A%84%E4%BA%91%E7%9B%98/GoWeb%E5%BC%80%E5%8F%91%E7%8E%AF%E5%A2%83%E5%AE%89%E8%A3%85/Redis-Windows.zip) | ||||
| > 4. SDK :  [graalvm-17](http://logzhan.ticp.io:52440/d/%E6%88%91%E7%9A%84%E5%A4%87%E4%BB%BD/logzhan%E7%9A%84%E4%BA%91%E7%9B%98/Web%E5%BC%80%E5%8F%91/graalvm-community-jdk-17.0.8_windows-x64_bin.zip) | ||||
| > 5. SQL : [Sql 8.0]() | ||||
| 
 | ||||
| #### 1.2 IDE的相关配置和依赖下载 | ||||
| 
 | ||||
| 		启动`Intellij IDEA`选择打开`Ruoyi-flowable-plus`的工程目录,IDE即可**自动下载依赖**(IDE内置Maven)。根据[官方教程](https://plus-doc.dromara.org/#/ruoyi-vue-plus/quickstart/init)配置SDK如下。在`SDK`选项中选择`Edit`并选择1.1中graalvm-17的解压目录即可管理。 | ||||
| 
 | ||||
|  | ||||
| 
 | ||||
| 		同步成功后如下图所示: | ||||
| 
 | ||||
|  | ||||
| 
 | ||||
| #### 1.3 本地数据库的配置和导入 | ||||
| 
 | ||||
| 		打开`nvicat`或者其他数据库软件,创建`ry-flowable-plus`或者其他你喜欢的数据库名。 | ||||
| 
 | ||||
| <img src="http://logzhan.ticp.io:30000/logzhan/PictureHost/raw/branch/main/Ruoyi-flowable-Plus/%E7%8E%AF%E5%A2%83%E5%AE%89%E8%A3%85%E6%95%99%E7%A8%8B/Image/10%E3%80%81%E5%88%9B%E5%BB%BA%E6%95%B0%E6%8D%AE%E5%BA%93.png" style="zoom:50%;" /> | ||||
| 
 | ||||
| 	 选择你创建的数据库并打开,右键选择运行数据库。 | ||||
| 
 | ||||
|  | ||||
| 
 | ||||
| 1. 运行`mysql_ry_v0.8.x.sql` | ||||
| 2. 运行`flowable_6.7.2_mysql(...).sql` | ||||
| 3. 运行`mysql_xxl_job.sql` | ||||
| 
 | ||||
| #### 1.4 远程数据库的配置 | ||||
| 
 | ||||
| 		数据库的配置,打开`ruoyi-admin\src\main\resource\application-dev.yml`,下面的`url`是采用个人搭建的公共数据库,可以在外网访问。本地数据库修改为`mysql://localhost:3306/`。`ry-flowable-plus`是数据库名,根据个人实际创建数据库时的名字进行调整。 | ||||
| 
 | ||||
| ```yml | ||||
| # 主库数据源 | ||||
| master: | ||||
|   type: ${spring.datasource.type} | ||||
|   driverClassName: com.mysql.cj.jdbc.Driver | ||||
|   # jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562 | ||||
|   # rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应  考虑性能问题) | ||||
|   url: jdbc:mysql://logzhan.ticp.io:53306/ry-flowable-plus?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&nullCatalogMeansCurrent=true | ||||
|   username: root | ||||
|   password: 351002 | ||||
| 
 | ||||
| ``` | ||||
| 
 | ||||
| ## 二、前端配置 | ||||
| 
 | ||||
| 		前端配置非常简单,只要求安装`nodejs`,然后进入`ruoyi-ui` | ||||
| 
 | ||||
| ```shell | ||||
| npm install --registry=https://registry.npmmirror.com | ||||
| npm run dev | ||||
| ``` | ||||
| 
 | ||||
| 		成功后会弹出网址即可访问。 | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user