add daemon.pm2 script
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
module.exports={
|
||||
protocol: 'httpall',
|
||||
protocol: 'https',
|
||||
host: 'server.vic.yuanjin.net',
|
||||
port: undefined,
|
||||
// 如果使用 https 协议,必须填写以下内容,或在命令行参数中设置:
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"dist": "umi build",
|
||||
"deploy": "node ./node_modules/deployer/deploy.js --type git --repo 'https://github.com/vichome/webapp' --local 'dist'",
|
||||
"allinone": "npm run dist && npm run deploy",
|
||||
"daemon4test.pm2": "cross-env NODE_ENV=production pm2 start ./node_modules/webserver/server.js --name vic.h5 -- -H server4test.vic.yuanjin.net -P http"
|
||||
"daemon.pm2": "cross-env NODE_ENV=production pm2 start ./node_modules/webserver/server.js --name vic.h5"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/react-virtualized-auto-sizer": "^1.0.0",
|
||||
|
||||
Reference in New Issue
Block a user