Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
node-devlop-rest-api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhouzihao
node-devlop-rest-api
Commits
cbc7e122
Commit
cbc7e122
authored
Apr 01, 2020
by
zhouzihao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc
parent
ce8239c7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
README.md
README.md
+17
-0
No files found.
README.md
View file @
cbc7e122
...
...
@@ -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
-
接入权限
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment