Set up production variables

This commit is contained in:
terakilobyte
2015-06-15 18:24:26 -04:00
parent 472834e39b
commit a334b9870c
3 changed files with 21 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"restApiRoot": "/api",
"host": "0.0.0.0",
"host": "127.0.0.1",
"port": 3000,
"legacyExplorer": false,
"remoting": {

View File

@ -1,5 +1,20 @@
var globalConfig = require('../common/config.global');
module.exports = {
restApiRoot: globalConfig.restApi
restApiRoot: globalConfig.restApi,
sessionSecret: process.env.SESSION_SECRET,
trello: {
key: process.env.TRELLO_KEY,
secret: process.env.TRELLO_SECRET
},
blogger: {
key: process.env.BLOGGER_KEY
},
github: {
clientID: process.env.GITHUB_ID,
clientSecret: process.env.GITHUB_SECRET
}
};

View File

@ -0,0 +1,3 @@
module.exports = {
host: process.env.HOST || 'localhost'
};