Skip to content

Commit

Permalink
adding release configuration for server (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc J Cenac authored and tetriscode committed Sep 30, 2016
1 parent d27ddac commit 4c6c237
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
8 changes: 8 additions & 0 deletions server/config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 8 additions & 0 deletions server/database.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 4c6c237

Please sign in to comment.