diff --git a/README.md b/README.md index 0785ab2..8e56401 100644 --- a/README.md +++ b/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; diff --git a/document/reference/deploy-windows.md b/document/reference/deploy-windows.md index fab18d2..d925d19 100644 --- a/document/reference/deploy-windows.md +++ b/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 diff --git a/document/resource/eclipse_import_1.png b/document/resource/eclipse_import_1.png new file mode 100644 index 0000000..9065fe7 Binary files /dev/null and b/document/resource/eclipse_import_1.png differ diff --git a/document/resource/eclipse_import_2.png b/document/resource/eclipse_import_2.png new file mode 100644 index 0000000..d5dd1d1 Binary files /dev/null and b/document/resource/eclipse_import_2.png differ