implemented feature to address issue 553 - provide a local.js file for local development configuration parameters that will not get committed to remote repositories and will accidentally expose API keys, passwords, and sensitive local configuration

This commit is contained in:
Liran Tal
2015-05-12 09:22:04 +03:00
parent 9f9f4506d0
commit ba3e99f009
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@@ -4,6 +4,7 @@
ehthumbs.db
Icon?
Thumbs.db
config/env/local.js
# Node and related ecosystem
# ==========================

View File

@@ -11,7 +11,8 @@ var _ = require('lodash'),
*/
module.exports = _.extend(
require('./env/all'),
require('./env/' + process.env.NODE_ENV) || {}
require('./env/' + process.env.NODE_ENV),
require('./env/local.js') || {}
);
/**