-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml.example
46 lines (35 loc) · 1.72 KB
/
config.yml.example
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
# where to send error logs to. stderr, email or file
error_log_channel: 'stderr'
# Email parameters to use. Should work out of the box, only uncomment if you need some special transport.
#smtp_server: 'smtp.example.com'
#smtp_port: 25
# File listing bible books. Usually no need to change this.
book_file: 'bibleBooks.yml'
# File used to track the last checked revision. Usually no need to change this.
tracking_file: 'rev_track'
# Connection parameters to the website database.
dbi_url: 'mysql:database=offenebibel;host=localhost;port=3306;mysql_enable_utf8=1'
dbi_user: 'offenebibel'
dbi_pw: 'password'
# URL to use to retrieve the chapter pages from.
chapter_url: 'http://offene-bibel.de/mediawiki/index.php?title=%s&action=raw'
# URL to use to retrieve pageid and revid for a given page title.
meta_url: 'http://offene-bibel.de/mediawiki/api.php?action=query&prop=info&format=json&titles=%s'
# URL used to retrieve the changes in JSON format.
rc_url: 'http://offene-bibel.de/mediawiki/api.php?action=query&list=recentchanges&rcend=%s&rclimit=500&rcprop=title|ids&format=json'
# Whether to run the client in a loop.
loop_client: false
# If run in loop mode, the interval in minutes to poll for new changes.
loop_minutes: 5
# File to write the PID to if running in loop mode.
pid_file: client.pid
# Path to the converter (a `validator.sh` file). In server mode this is the path on the server computer.
validator_path: '/path/to/converter/install/bin/validator.sh'
# Whether to use a separate server process on a foreign computer.
server_mode: false
# The stuff below is only relevant if server_mode is set to true.
# Host and port of the server running the *server* process.
host: 'http://example.de'
port: 12345
# Dancer (server) stuff.
charset: UTF-8