Skip to content

Commit a09d0cb

Browse files
committed
start
1 parent fb07a22 commit a09d0cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ $ cnpm i -g pm2
127127
```
128128
#### 启动
129129
```Shell
130-
$ pm2 start pm2.config.js
130+
$ npm start
131131
```
132132

133133
## 最后

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"scripts": {
1111
"dev": "cross-env NODE_ENV=development nodemon server/index.js --watch server",
1212
"build": "nuxt build",
13-
"start": "NODE_ENV=production node server/index.js",
13+
"start": "pm2 start pm2.config.js --env production",
1414
"generate": "nuxt generate"
1515
},
1616
"dependencies": {

0 commit comments

Comments
 (0)