forked from naggie/megafilter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
32 lines (20 loc) · 774 Bytes
/
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
// allow some options to come from the command line
var argv = require('optimist').argv
// queue actor
exports.queue = 'internal'
//exports.queue = 'redis'
// storage (published articles) actor
exports.store = 'json'
//exports.store = 'redis'
//exports.store = 'sqlite'
// ACTOR CONFIG
//...
// XML file containing (OPML) RSS/ATOM feed URLs from google reader
exports.subscriptions = __dirname+'/subscriptions.xml'
// maximum number of articles via /published API call
exports.maxArticles = 50
// specify --user optionally, defaults to username
// specify --password optionally, defaults to nothing which disables auth
exports.username = argv.username || process.env.USER
exports.password = argv.password
exports.port = argv.port || process.env.PORT || 8080