-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathconfig.js.example
More file actions
33 lines (33 loc) · 801 Bytes
/
config.js.example
File metadata and controls
33 lines (33 loc) · 801 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
module.exports = {
db: {
username: 'user',
password: 'password',
host: 'localhost',
port: '3306',
database: 'hashtag_wall'
},
api: {
port: 8080,
hostname: 'somedomainorip.com',
username: 'admin',
password: 'password'
},
hashtags: {
// To disable any of these sources, set the value to empty
instagram: 'helsinki',
twitter: 'helsinki'
},
instagram: {
// How often to update the feed, in milliseconds
update_interval: 30000
},
twitter: {
// Get them from https://apps.twitter.com/
consumer_key: "twitter consumer key",
consumer_secret: "twitter consumer secret",
access_token: "twitter access token",
access_token_secret: "twitter access token secret"
},
POST_TYPE_INSTAGRAM: 1,
POST_TYPE_TWITTER: 2,
}