tracman-server/config/env/sample.js

47 lines
1.3 KiB
JavaScript
Raw Normal View History

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