mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-01-15 03:42:23 +01:00
36 lines
1.2 KiB
JavaScript
36 lines
1.2 KiB
JavaScript
'use strict';
|
|
|
|
// Rename this file to local-NODE_ENV.js (i.e. local-development.js, or local-test.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.
|
|
|
|
// WARNING: When using this example for multiple NODE_ENV's concurrently, make sure you update the 'db' settings appropriately.
|
|
// You do not want to accidentally overwrite/lose any data. For instance, if you create a file for 'test' and don't change the
|
|
// database name in the setting below, running the tests will drop all the data from the specified database.
|
|
//
|
|
// You may end up with a list of files, that will be used with their corresponding NODE_ENV:
|
|
//
|
|
// local-development.js
|
|
// local-test.js
|
|
// local-production.js
|
|
//
|
|
|
|
/* For example (Development):
|
|
|
|
module.exports = {
|
|
db: {
|
|
uri: 'mongodb://localhost/local-dev',
|
|
options: {
|
|
user: '',
|
|
pass: ''
|
|
}
|
|
},
|
|
sessionSecret: process.env.SESSION_SECRET || 'youshouldchangethistosomethingsecret',
|
|
facebook: {
|
|
clientID: process.env.FACEBOOK_ID || 'APP_ID',
|
|
clientSecret: process.env.FACEBOOK_SECRET || 'APP_SECRET',
|
|
callbackURL: '/api/auth/facebook/callback'
|
|
}
|
|
};
|
|
*/
|