Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
implemented feature to address issue 553 - provide a local.js file fo…
Browse files Browse the repository at this point in the history
…r local development configuration parameters that will not get committed to remote repositories and will accidentally expose API keys, passwords, and sensitive local configuration
  • Loading branch information
lirantal committed May 12, 2015
1 parent 9f9f450 commit ba3e99f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
ehthumbs.db
Icon?
Thumbs.db
config/env/local.js

# Node and related ecosystem
# ==========================
Expand Down
3 changes: 2 additions & 1 deletion config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') || {}
);

/**
Expand Down

0 comments on commit ba3e99f

Please sign in to comment.