update readme

This commit is contained in:
zhh 2018-12-13 16:26:44 +08:00
parent b5783789d5
commit c54ca96c6a
4 changed files with 11 additions and 1 deletions

View File

@ -152,7 +152,7 @@ nginx | 1.10 | http://nginx.org/en/download.html
> 本地环境搭建 > 本地环境搭建
- 本地安装开发环境中的所有工具并启动,具体参考[deploy-windows.md](document/reference/deploy-windows.md); - 本地安装开发环境中的所有工具并启动,具体参考[deploy-windows.md](document/reference/deploy-windows.md);
- 克隆源代码到本地使用IDEA打开并完成编译; - 克隆源代码到本地使用IDEA或Eclipse打开,并完成编译;
- 在mysql中新建mall数据库导入document/sql下的mall.sql文件 - 在mysql中新建mall数据库导入document/sql下的mall.sql文件
- 启动mall-admin项目直接运行com.macro.mall.MallAdminApplication的main方法即可 - 启动mall-admin项目直接运行com.macro.mall.MallAdminApplication的main方法即可
接口文档地址http://localhost:8080/swagger-ui.html; 接口文档地址http://localhost:8080/swagger-ui.html;

View File

@ -4,6 +4,16 @@
关于IDEA的安装与使用具体参考[https://github.com/judasn/IntelliJ-IDEA-Tutorial](https://github.com/judasn/IntelliJ-IDEA-Tutorial) 关于IDEA的安装与使用具体参考[https://github.com/judasn/IntelliJ-IDEA-Tutorial](https://github.com/judasn/IntelliJ-IDEA-Tutorial)
## Eclipse
- 导入项目以maven项目形式导入
![eclipse_import_1.png](https://github.com/macrozheng/mall/blob/master/document/resource/eclipse_import_1.png)
![eclipse_import_2.png](https://github.com/macrozheng/mall/blob/master/document/resource/eclipse_import_2.png)
- 安装lombok插件下载地址https://projectlombok.org/downloads/lombok.jar
- 下载完后双击使用java程序打开
- 下载后选择eclipe.exe的安装路径安装安装后重启Eclipse
- 启动项目右击com.macro.mall.MallAdminApplication的main方法选择run as Java Application
## mysql ## mysql
- 下载地址https://dev.mysql.com/downloads/mysql/5.7.html#downloads - 下载地址https://dev.mysql.com/downloads/mysql/5.7.html#downloads

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB