File tree Expand file tree Collapse file tree 2 files changed +18
-14
lines changed
src/main/resources/templates Expand file tree Collapse file tree 2 files changed +18
-14
lines changed Original file line number Diff line number Diff line change 9
9
10
10
#### 项目相关
11
11
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类,在线切换数据库
17
17
18
18
#### 项目介绍
19
19
20
20
ViewGenerator是一个基于SpringBoot & FreeMarker的自定义模板代码生成系统,用于快速构建中小型项目,稳定、简单、快速,使我们摆脱那些重复劳动,专注于业务代码的编写,能在短短几十秒钟内实现一套简单的基础代码(自动生成Model、Mapper、MapperXML、Service、ServiceImpl、Controller、JS、Vue等自定义模板代码)
21
21
22
22
1 . 可视化界面,上手操作简单
23
23
2 . 高度灵活的代码模板配置(提供两套模板参考),可以自行添加N套代码模板
24
- 3 . 支持多数据库,支持在线生成代码且可提供ZIP文件下载
24
+ 3 . 支持多数据库,在线切换数据库, 支持在线生成代码且可提供ZIP文件下载
25
25
26
26
#### 软件架构
27
27
28
28
SpringBoot + Mybatis + PageHelper + 通用Mapper + Thymeleaf(Amaze UI(布局) + Element UI(数据操作Vue.js))
29
29
30
30
#### 安装教程
31
31
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包同级目录下
35
37
36
38
#### 使用说明
37
39
Original file line number Diff line number Diff line change 26
26
< br />
27
27
1. 可视化界面,上手操作简单< br />
28
28
2. 高度灵活的代码模板配置(提供两套模板参考),可以自行添加N套代码模板< br />
29
- 3. 支持多数据库,支持在线生成代码且可提供ZIP文件下载< br />
29
+ 3. 支持多数据库,在线切换数据库, 支持在线生成代码且可提供ZIP文件下载< br />
30
30
</ p >
31
31
< b > 安装使用< br /> </ b >
32
32
< 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 />
36
38
</ p >
37
39
< b > 更多详细说明< br /> </ b >
38
40
< p >
39
41
1. Github:< a href ="https://github.com/dolyw/ViewGenerator " target ="_blank "> https://github.com/dolyw/ViewGenerator</ a > < br />
40
42
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 />
42
44
</ p >
43
45
</ div >
44
46
</ div >
You can’t perform that action at this time.
0 commit comments