Commit cbc7e122 authored by zhouzihao's avatar zhouzihao

doc

parent ce8239c7
......@@ -128,6 +128,23 @@ const serve_url = "http://127.0.0.1:3000" //后端想的服务地址
```
# 关于部署
项目部署在测试环境。地址:http://10.100.9.45/
后端项目使用pm2进行部署。前端项目使用ng的docker进行搭建。
## 后端项目
在跟目录里node-devlop-rest-api。
- 启动: `pm2 start main,js`
- 关闭:`pm2 stop 0` ,`pm2 del 0`
## 前端项目
在跟目录里的devlop-ui项目中
1. 构建项目 `yarn build` .项目会生成文件夹dist
2. dist 移动到根目录改名为 `iview-layoutui`
3. 在docker/config/app中docker-compose的配置文件。关闭启动都可以
# TODO
- 接入权限
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment