forked from jedireza/drywall
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.example.js
36 lines (35 loc) · 1.02 KB
/
config.example.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
'use strict';
exports.port = process.env.PORT || 3000;
exports.mongodb = {
uri: process.env.MONGOLAB_URI || process.env.MONGOHQ_URL || 'localhost/drywall'
};
exports.companyName = 'Acme, Inc.';
exports.projectName = 'Drywall';
exports.systemEmail = '[email protected]';
exports.cryptoKey = 'k3yb0ardc4t';
exports.smtp = {
from: {
name: process.env.SMTP_FROM_NAME || exports.projectName +' Website',
address: process.env.SMTP_FROM_ADDRESS || '[email protected]'
},
credentials: {
user: process.env.SMTP_USERNAME || '[email protected]',
password: process.env.SMTP_PASSWORD || 'bl4rg!',
host: process.env.SMTP_HOST || 'smtp.gmail.com',
ssl: true
}
};
exports.oauth = {
twitter: {
key: process.env.TWITTER_OAUTH_KEY || '',
secret: process.env.TWITTER_OAUTH_SECRET || ''
},
facebook: {
key: process.env.FACEBOOK_OAUTH_KEY || '',
secret: process.env.FACEBOOK_OAUTH_SECRET || ''
},
github: {
key: process.env.GITHUB_OAUTH_KEY || '',
secret: process.env.GITHUB_OAUTH_SECRET || ''
}
};