Created
April 5, 2014 19:05
-
-
Save tlongren/9996439 to your computer and use it in GitHub Desktop.
Let's Chat settings.js
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
var config = { | |
// Server | |
host: '', // Not required | |
port: process.env.PORT || 5000, | |
// Registration | |
disable_registration: false, | |
// HTTPS | |
/*** | |
https: { | |
port: 8000, // Regular port will redirect to this | |
key: 'key.pem', | |
cert: 'certificate.pem' | |
}, | |
***/ | |
// Database | |
db_host: 'localhost', | |
db_port: 27017, | |
db_name: 'letschatbro', | |
db_user: '', | |
db_password: '', | |
// Overrides the above settings (helpful for heroku) | |
db_url: process.env.DATABASE_URL, | |
// Security | |
// Please change these! | |
cookie_secret: 'KeyBoard Cat', | |
password_salt: 'Hello. Yes, This is Dog', | |
// Misc | |
debug: false, | |
media_url: '/media', | |
uploads_dir: 'uploads', | |
plugins_dir: 'plugins', | |
// Plugins | |
plugins: { | |
'emotes': { | |
file: 'emotes.js', // You should use file.local.js | |
url: 'emotes.json' | |
}, | |
'replacements': { | |
file: 'replacements.js', | |
url: 'replacements.json' | |
} | |
}, | |
// Allowed file types | |
allowed_file_types: [ | |
'image/jpeg', | |
'image/png', | |
'image/gif', | |
], | |
// s3 credentials | |
/*** | |
s3: { | |
accessKeyId: '', | |
secretAccessKey: '', | |
region: '', | |
bucket: '' | |
}, | |
***/ | |
} | |
module.exports = config; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment