zhh 6 жил өмнө
parent
commit
c54ca96c6a

+ 1 - 1
README.md

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

+ 10 - 0
document/reference/deploy-windows.md

@@ -4,6 +4,16 @@
 
 关于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
 
 - 下载地址:https://dev.mysql.com/downloads/mysql/5.7.html#downloads

BIN
document/resource/eclipse_import_1.png


BIN
document/resource/eclipse_import_2.png