Skip to content

Instantly share code, notes, and snippets.

@blizzerand
Created December 20, 2018 06:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blizzerand/20947f29a437a0bd716b067b40296d1c to your computer and use it in GitHub Desktop.
Save blizzerand/20947f29a437a0bd716b067b40296d1c to your computer and use it in GitHub Desktop.
module.exports = {
apps : [
{
name: "<your application name>",
script: "./<path to>/server.js",
watch: true,
env: {
"PORT": 3000,//any port number
"NODE_ENV": "development"
},
env_production: {
"PORT": 8080,
"NODE_ENV": "production",
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment