Skip to content

Commit

Permalink
添加在线项目地址
Browse files Browse the repository at this point in the history
  • Loading branch information
macrozheng committed Dec 6, 2018
1 parent 2817b2b commit a06c60f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@

## 项目演示

项目在线演示地址:[www.macro.com/mall-admin/index.html](http:https://39.98.69.210/index.html)

![https://github.com/macrozheng/mall/blob/master/document/resource/mall-admin.gif](https://github.com/macrozheng/mall/blob/master/document/resource/mall-admin.gif)

## 技术选型
Expand Down Expand Up @@ -64,8 +66,8 @@ src -- 源码目录

- 该项目为前后端分离项目,要先搭建后台项目才可正常访问接口,搭建后台参考后端项目[传送门](https://github.com/macrozheng/mall);
- 克隆源代码到本地,使用IDEA打开,并完成编译;
- 运行命令:npm run dev,访问地址:[http:https://localhost:8090](http:https://localhost:8090) 即可打开后台管理系统页面
- 默认登录账号:admin 123456
- 运行命令:npm run dev,访问地址:[http:https://localhost:8090](http:https://localhost:8090) 即可打开后台管理系统页面
- 考虑到后台搭建的复杂性,本项目已开放后台在线API,只需要将config/dev.env.js文件中的BASE_API改为http:https://39.98.69.210即可免后台搭建。

## 许可证

Expand Down
2 changes: 1 addition & 1 deletion config/prod.env.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict'
module.exports = {
NODE_ENV: '"production"',
BASE_API: '"http:https://mall-admin:8080"'
BASE_API: '"http:https://39.98.69.210:8080"'
}

0 comments on commit a06c60f

Please sign in to comment.