-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfig.js
46 lines (44 loc) · 1.27 KB
/
config.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
37
38
39
40
41
42
43
44
45
46
var path = require('path')
, rootPath = path.normalize(__dirname + '/..')
, templatePath = path.normalize(__dirname + '/../app/mailer/templates')
, notifier = {
service: 'postmark',
APN: false,
email: false, // true
actions: ['comment'],
tplPath: templatePath,
key: 'POSTMARK_KEY',
parseAppId: 'PARSE_APP_ID',
parseApiKey: 'PARSE_MASTER_KEY'
}
module.exports = {
development: {
db: 'mongodb://localhost/spectrum',
root: rootPath,
notifier: notifier,
app: {
name: 'Spectrum is a CMS written in JavaScript on both the client and server sides.'
},
facebook: {
clientID: "APP_ID",
clientSecret: "APP_SECRET",
callbackURL: "http://localhost:3000/auth/facebook/callback"
},
twitter: {
clientID: "CONSUMER_KEY",
clientSecret: "CONSUMER_SECRET",
callbackURL: "http://localhost:3000/auth/twitter/callback"
},
github: {
clientID: 'dfc05d9082fda6017750',
clientSecret: '823375ac79d0776177e66359664a6345ccc5cafd',
callbackURL: 'http://localhost:3000/auth/github/callback'
},
google: {
clientID: "APP_ID",
clientSecret: "APP_SECRET",
callbackURL: "http://localhost:3000/auth/google/callback"
},
},
production: {}
}