From e1f881a3368be7982a39a96072f273d7c0ed0ff1 Mon Sep 17 00:00:00 2001 From: David Baldwynn Date: Sun, 24 Apr 2016 14:22:04 -0400 Subject: [PATCH] added production to ecosystem.json --- ecosystem.json | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/ecosystem.json b/ecosystem.json index 8275822f..c98e6a2c 100644 --- a/ecosystem.json +++ b/ecosystem.json @@ -10,11 +10,23 @@ "ref" : "origin/master", "repo" : "git@github.com:whitef0x0/tellform.git", "path" : "/opt/deploy", - "post-deploy" : "npm install && bower install --allow-root && pm2 startOrRestart ecosystem.json --env production", + "post-deploy" : "npm install && bower install && pm2 startOrRestart ecosystem.json --env production", "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" + } + } + } }