tracman-server/config/env/sample.js

47 lines
1.3 KiB
JavaScript
Raw Normal View History

2017-04-01 11:03:31 -06:00
'use strict';
module.exports = {
// Local variables
mode: 'development', // or production
// Random strings to prevent hijacking
session: 'SomeSecret',
cookie: 'SomeOtherSecret',
// Location of your mongoDB
mongoSetup: 'mongodb://localhost:27017/tracman',
2017-04-22 06:06:17 -06:00
// Or use the test database from mLab
2017-05-08 11:47:53 -06:00
//mongoSetup: 'mongodb://tracman:MUPSLXQ34f9cQTc5@ds133961.mlab.com:33961/tracman',
// You can log in there with:
// mongo ds133961.mlab.com:33961/tracman-dev -u contributor -p opensourcerules
2017-04-01 11:03:31 -06:00
// URL and port where this will run
url: 'https://localhost:8080',
port: 8080,
2017-05-30 12:33:41 -06:00
// Mailserver
mailserver: 'example.org',
mailport: 587,
mailauth: {
user: 'mailusername',
pass: 'XXXXXXXXXX',
},
2017-04-01 11:03:31 -06:00
// OAuth API keys
facebookAppId: 'XXXXXXXXXXXXXXXX',
facebookAppSecret: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
twitterConsumerKey: 'XXXXXXXXXXXXXXXXXXXXXXXXX',
twitterConsumerSecret: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
googleClientId: '############-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.apps.googleusercontent.com',
googleClientSecret: 'XXXXXXXXX_XXXXXXXXXXXXXX',
// Google maps API key
2017-05-23 12:40:52 -06:00
googleMapsAPI: 'XXXXXXXXXXXXXXX_XXXXXXXXXXXXXXXXXXXXXXX',
2017-05-08 15:27:45 -06:00
// reCaptcha API key
2017-05-08 17:01:35 -06:00
recaptchaSitekey: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
recaptchaSecret: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
2017-04-01 11:03:31 -06:00
};