diff --git a/config/env/all.js b/config/env/all.js index d9f1788c..663f2769 100755 --- a/config/env/all.js +++ b/config/env/all.js @@ -10,7 +10,7 @@ module.exports = { port: process.env.PORT || 3000, templateEngine: 'swig', - signupDisabled: process.env.SIGNUP_DISABLED || false; + signupDisabled: process.env.SIGNUP_DISABLED || false, baseUrl: '', tempUserCollection: 'temporary_users', diff --git a/ecosystem.json b/ecosystem.json index c98e6a2c..d8a3db0f 100644 --- a/ecosystem.json +++ b/ecosystem.json @@ -11,22 +11,34 @@ "repo" : "git@github.com:whitef0x0/tellform.git", "path" : "/opt/deploy", "post-deploy" : "npm install && bower install && pm2 startOrRestart ecosystem.json --env production", - "env" : { - "NODE_ENV": "production", - "BASE_URL": "stage.tellform.com" - } - }, + "env" : { + "NODE_ENV": "production", + "BASE_URL": "stage.tellform.com" + } + }, "prod" : { "user" : "polydaic", "host" : "159.203.33.182", "ref" : "origin/master", "repo" : "git@github.com:whitef0x0/tellform.git", "path" : "/opt/deploy", + "post-deploy" : "npm install && bower install && pm2 startOrRestart ecosystem.json --env production", + "env" : { + "NODE_ENV": "production", + "BASE_URL": "admin.tellform.com" + } + }, + "kmc" : { + "user" : "polydaic", + "host" : "159.203.2.71", + "ref" : "origin/master", + "repo" : "git@github.com:whitef0x0/tellform.git", + "path" : "/opt/deploy", "post-deploy" : "npm install && bower install && pm2 startOrRestart ecosystem.json --env production", "env" : { "NODE_ENV": "production", - "BASE_URL": "admin.tellform.com" + "BASE_URL": "kmc.tellform.com" } } - } + } }