From 4c6c2375bc36ad55b0f5ade4621ae14e594a9f66 Mon Sep 17 00:00:00 2001 From: Marc J Cenac Date: Fri, 30 Sep 2016 12:06:55 -0500 Subject: [PATCH] adding release configuration for server (#124) --- server/config/config.json | 8 ++++++++ server/database.json | 8 ++++++++ server/package.json | 1 + 3 files changed, 17 insertions(+) diff --git a/server/config/config.json b/server/config/config.json index cd80149..a2c9330 100644 --- a/server/config/config.json +++ b/server/config/config.json @@ -23,6 +23,14 @@ "dialect": "postgres", "logging": false }, + "release": { + "username": "spacon", + "password": "spacon", + "database": "spacon", + "host": "postgres", + "dialect": "postgres", + "logging": false + }, "production": { "username": "spacon", "password": "spacon", diff --git a/server/database.json b/server/database.json index cf554f9..6cfdb53 100644 --- a/server/database.json +++ b/server/database.json @@ -23,6 +23,14 @@ "driver": "postgres", "multipleStatements": true }, + "release": { + "host": "postgres", + "user": "postgres", + "password": "postgres", + "database": "spacon", + "driver": "postgres", + "multipleStatements": true + }, "production": { "host": "postgres", "user": "postgres", diff --git a/server/package.json b/server/package.json index 03b0294..a5f3544 100644 --- a/server/package.json +++ b/server/package.json @@ -8,6 +8,7 @@ "start": "node server.js", "start:local": "NODE_ENV=local nodemon server.js --exec babel-node --presets es2015,stage-0", "start:development": "NODE_ENV=development nodemon server.js --exec babel-node --presets es2015,stage-0", + "start:release": "NODE_ENV=release nodemon server.js --exec babel-node --presets es2015,stage-0", "watch-lint": "esw -w -f simple-detail || true", "lint": "esw -f simple-detail || true", "dbup": "db-migrate up --env=local",