update readme.md

This commit is contained in:
macro 2019-11-16 16:53:08 +08:00
parent e0930ab8a0
commit 67f2f00538
2 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@
### 项目演示 ### 项目演示
项目在线演示地址:[http://39.98.190.128/index.html](http://39.98.190.128/index.html) 项目在线演示地址:[http://www.macrozheng.com/admin/](http://www.macrozheng.com/admin/)
![https://github.com/macrozheng/mall/blob/master/document/resource/mall-admin.gif](https://github.com/macrozheng/mall/blob/master/document/resource/mall-admin.gif) ![https://github.com/macrozheng/mall/blob/master/document/resource/mall-admin.gif](https://github.com/macrozheng/mall/blob/master/document/resource/mall-admin.gif)
@ -58,7 +58,7 @@ src -- 源码目录
## 搭建步骤 ## 搭建步骤
- 下载node并安装[https://nodejs.org/dist/v8.9.4/node-v8.9.4-x64.msi](https://nodejs.org/dist/v8.9.4/node-v8.9.4-x64.msi); - 下载node并安装[https://nodejs.org/dist/v8.9.4/node-v8.9.4-x64.msi](https://nodejs.org/dist/v8.9.4/node-v8.9.4-x64.msi);
- 该项目为前后端分离项目,访问本地访问接口需搭建后台环境,搭建请参考后端项目[传送门](https://github.com/macrozheng/mall); - 该项目为前后端分离项目,访问本地访问接口需搭建后台环境,搭建请参考后端项目[传送门](https://github.com/macrozheng/mall);
- 访问在线接口无需搭建后台环境只需将config/dev.env.js文件中的BASE_API改为[http://39.98.190.128:8080](http://39.98.190.128:8080)即可; - 访问在线接口无需搭建后台环境只需将config/dev.env.js文件中的BASE_API改为[http://120.27.63.9:8080](http://120.27.63.9:8080)即可;
- 克隆源代码到本地使用IDEA打开并完成编译; - 克隆源代码到本地使用IDEA打开并完成编译;
- 在IDEA命令行中运行命令npm install,下载相关依赖; - 在IDEA命令行中运行命令npm install,下载相关依赖;
- 在IDEA命令行中运行命令npm run dev,运行项目; - 在IDEA命令行中运行命令npm run dev,运行项目;

View File

@ -1,5 +1,5 @@
'use strict' 'use strict'
module.exports = { module.exports = {
NODE_ENV: '"production"', NODE_ENV: '"production"',
BASE_API: '"http://39.98.190.128:8080"' BASE_API: '"http://120.27.63.9:8080"'
} }