This repository has been archived by the owner on Aug 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
creating a local.example.js as a sample file to extend configuration …
…to local repository without committing these changes and also replacing .extend() with .merge() for local repository changes
- Loading branch information
Showing
3 changed files
with
41 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
'use strict'; | ||
|
||
// Rename this file to local.js for having a local configuration variables that | ||
// will not get commited and pushed to remote repositories. | ||
// Use it for your API keys, passwords, etc. | ||
|
||
/* For example: | ||
module.exports = { | ||
db: { | ||
uri: 'mongodb://localhost/local-dev', | ||
options: { | ||
user: '', | ||
pass: '' | ||
} | ||
}, | ||
facebook: { | ||
clientID: process.env.FACEBOOK_ID || 'APP_ID', | ||
clientSecret: process.env.FACEBOOK_SECRET || 'APP_SECRET', | ||
callbackURL: '/auth/facebook/callback' | ||
} | ||
}; | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters