forked from alainyog/JavaScript.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.js
More file actions
44 lines (39 loc) · 911 Bytes
/
config.example.js
File metadata and controls
44 lines (39 loc) · 911 Bytes
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
module.exports = {
server: {
port: 3000,
environment: process.env.APP_ENV || 'development',
cookieKey: 'somerandomstring',
redis: '127.0.0.1',
database: 'pg://localhost:5432/javascriptcom',
basicAuth: {
username: 'username',
password: 'password'
}
},
apiKeys: {
/**
* GitHub is used to authenticate and these fields are required to start the
* application. You can fake these values but you will not be able to log
* into the application without valid credentials.
**/
github: {
clientId: '',
clientSecret: ''
},
twitter: {
// Tweet when a story is approved.
enabled: false,
consumerKey: '',
consumerSecret: '',
accessToken: '',
accessTokenSecret: ''
},
mailchimp: {
enabled: false,
key: '',
listId: ''
},
mandrill: '',
akismet: ''
}
}