Skip to content

Commit

Permalink
pm2 clustering
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-rybar committed May 8, 2017
1 parent 5ae8a69 commit 1c16a98
Show file tree
Hide file tree
Showing 5 changed files with 282 additions and 281 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@
"test:watch": "node ./node_modules/karma-cli/bin/karma start ./karma.conf.js",
"clean": "rimraf build; rimraf dist",
"clean:all": "npm run clean; rimraf node_modules; rimraf typings",
"pm2": "NODE_ENV=production pm2",
"server": "NODE_ENV=production pm2 start server/app.js -i 0",
"server:watch": "nodemon --watch server --watch build/main --watch dist server/app.js"
"server:watch": "nodemon --watch server --watch build/main --watch dist server/app.js",
"server:cluster": "NODE_ENV=production node server/cluster.js",
"server:pm2": "NODE_ENV=production pm2 start server/app.js -i 0 --name bufet",
"pm2": "NODE_ENV=production pm2"
},
"pre-commit": [
"dist"
Expand Down
Loading

0 comments on commit 1c16a98

Please sign in to comment.