Skip to content

Commit 914b570

Browse files
committed
更新说明
1 parent 28e0e84 commit 914b570

File tree

2 files changed

+18
-14
lines changed

2 files changed

+18
-14
lines changed

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,31 @@
99
1010
#### 项目相关
1111

12-
版本 | 操作 | 链接
13-
----|------|----
14-
SpringBoot1.5(第一版) | Test类生成代码 | [https://github.com/dolyw/ViewGenerator/releases](https://github.com/dolyw/ViewGenerator/releases)
15-
SpringBoot2.1(第二版) | Test类生成代码 | [https://github.com/dolyw/ViewGenerator/releases](https://github.com/dolyw/ViewGenerator/releases)
16-
SpringBoot1.5(第三版) | 可视化界面或Test类两种 | 当前
12+
版本 | 描述
13+
----|------
14+
SpringBoot1.5 | Test类生成代码
15+
SpringBoot2.1 | 可视化界面及Test类两种
16+
SpringBoot2.5 | 可视化界面及Test类,在线切换数据库
1717

1818
#### 项目介绍
1919

2020
ViewGenerator是一个基于SpringBoot & FreeMarker的自定义模板代码生成系统,用于快速构建中小型项目,稳定、简单、快速,使我们摆脱那些重复劳动,专注于业务代码的编写,能在短短几十秒钟内实现一套简单的基础代码(自动生成Model、Mapper、MapperXML、Service、ServiceImpl、Controller、JS、Vue等自定义模板代码)
2121

2222
1. 可视化界面,上手操作简单
2323
2. 高度灵活的代码模板配置(提供两套模板参考),可以自行添加N套代码模板
24-
3. 支持多数据库,支持在线生成代码且可提供ZIP文件下载
24+
3. 支持多数据库,在线切换数据库,支持在线生成代码且可提供ZIP文件下载
2525

2626
#### 软件架构
2727

2828
SpringBoot + Mybatis + PageHelper + 通用Mapper + Thymeleaf(Amaze UI(布局) + Element UI(数据操作Vue.js))
2929

3030
#### 安装教程
3131

32-
1. 配置resource下config/generator.properties数据库信息,Test类在src\test\java\com\example\generator\GeneratorCode
33-
2. 模板提供两套示例LayUI和RESTful,自行添加模板路径src\test\resources\template\two
34-
3. 可视化界面操作运行项目src\main\java\com\example\Application.java即可,访问[http://localhost:8080](http://localhost:8080),可以在线设置生成代码的配置
32+
1. 配置resource下config/generator.properties数据库信息启动Application即可,也可以本地直接执行Test类在src\test\java\com\example\generator\GeneratorCode
33+
2. 模板提供两套示例LayUI和RESTful,自行添加模板路径\template\
34+
3. 可视化界面操作访问[http://localhost:8080](http://localhost:8080),可以在线设置生成代码的配置
35+
4. 服务器部署,下载代码到本地打包成jar包上传到服务器启动即可
36+
5. 服务器部署后需要自行复制template文件夹到与jar包同级目录下
3537

3638
#### 使用说明
3739

src/main/resources/templates/index.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,21 @@
2626
<br/>
2727
1. 可视化界面,上手操作简单<br/>
2828
2. 高度灵活的代码模板配置(提供两套模板参考),可以自行添加N套代码模板<br/>
29-
3. 支持多数据库,支持在线生成代码且可提供ZIP文件下载<br/>
29+
3. 支持多数据库,在线切换数据库,支持在线生成代码且可提供ZIP文件下载<br/>
3030
</p>
3131
<b>安装使用<br/></b>
3232
<p>
33-
1. 配置resource下config/generator.properties数据库信息<br/>
34-
2. 模板提供两套示例LayUI和RESTful,自行添加模板路径src\test\resources\template\two<br/>
35-
3. 运行项目src\main\java\com\example\Application.java即可,访问http://localhost:8080,可以在线设置生成代码的配置<br/>
33+
1. 配置resource下config/generator.properties数据库信息启动Application即可,也可以本地直接执行Test类在src\test\java\com\example\generator\GeneratorCode<br/>
34+
2. 模板提供两套示例LayUI和RESTful,自行添加模板路径\template\<br/>
35+
3. 可视化界面操作访问访问http://localhost:8080,可以在线设置生成代码的配置<br/>
36+
4. 服务器部署,下载代码到本地打包成jar包上传到服务器启动即可<br/>
37+
5. 服务器部署后需要自行复制template文件夹到与jar包同级目录下<br/>
3638
</p>
3739
<b>更多详细说明<br/></b>
3840
<p>
3941
1. Github:<a href="https://github.com/dolyw/ViewGenerator" target="_blank">https://github.com/dolyw/ViewGenerator</a><br/>
4042
2. Gitee(码云):<a href="https://gitee/dolyw/ViewGenerator" target="_blank">https://gitee.com/dolyw/ViewGenerator</a><br/>
41-
3. 关于作者:<a href="https://dolyw.com" target="_blank">https://dolyw.com</a><br/>
43+
3. 关于作者:<a href="https://note.dolyw.com" target="_blank">https://note.dolyw.com</a><br/>
4244
</p>
4345
</div>
4446
</div>

0 commit comments

Comments
 (0)