Authored by weiqingting

Merge branch 'develop' of http://git.dev.yoho.cn/platform/yohobuy-portal-fe into develop

all: package spmpackage
all: package spmpackage gulptask
package:
cd ./server/ && cnpm install -d
cd ./client && cnpm install -d
... ... @@ -7,6 +7,6 @@ spmpackage:
gulptask:
cd ./client && gulp build
start:
pm2 delete yohobuy-portal && pm2 start ./server/app.js -n yohobuy-portal -i 0
pm2 startOrRestart deploy.json
restart:
pm2 restart yohobuy-portal
\ No newline at end of file
... ...
{
"apps" : [
{
"name" : "yohobuy-portal",
"instances" : 0,
"exec_mode" : "cluster",
"script" : "./server/app.js",
}
]
}
\ No newline at end of file
... ...