🎨 update README.md

This commit is contained in:
ronger 2021-02-05 10:12:58 +08:00
parent e2b19bd2dc
commit ec6972ce7c
2 changed files with 12 additions and 0 deletions

View File

@ -60,4 +60,16 @@ $ npm start
$ npm generate $ npm generate
``` ```
## 项目部署
1. 控制台执行 `npm run build`
2. 拷贝以下文件至服务器
![build](assets/build.png)
3. 服务器安装 `Nodejs` 环境
4. 项目目录下执行 `npm install`
5. 执行 `npm install pm2 -g`
6. 执行 `pm2 list` 检查 `pm2` 是否安装好
7. 执行 `pm2 start npm --name "nebula" -- run start --watch`
For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org). For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org).

BIN
assets/build.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB