mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
deployment stuff
This commit is contained in:
parent
a0731d8afd
commit
d8a49779ae
1 changed files with 12 additions and 5 deletions
|
|
@ -11,7 +11,7 @@
|
|||
*/
|
||||
apps : [
|
||||
|
||||
// First application
|
||||
// Production
|
||||
{
|
||||
name : "chuck",
|
||||
script : "server.js",
|
||||
|
|
@ -20,6 +20,17 @@
|
|||
PORT: "1235"
|
||||
}
|
||||
},
|
||||
|
||||
// Development
|
||||
{
|
||||
name : "chuck-dev",
|
||||
script : "server.js",
|
||||
env : {
|
||||
NODE_ENV: "dev",
|
||||
PORT: "1236"
|
||||
}
|
||||
}
|
||||
|
||||
],
|
||||
|
||||
|
||||
|
|
@ -44,10 +55,6 @@
|
|||
repo : "https://github.com/logsol/chuck.js.git",
|
||||
path : "/home/chuck/development",
|
||||
"post-deploy" : "npm install && pm2 startOrRestart config/ecosystem.json5 --env dev",
|
||||
env : {
|
||||
NODE_ENV: "dev",
|
||||
PORT: "1234"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue