forked from srynot4sale/jarvis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_example.py
40 lines (30 loc) · 1.24 KB
/
config_example.py
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
#
# THIS AN EXAMPLE CONFIG FILE
#
config = {}
# THIS OPTION VERY IMPORTANT!
# Set to True on production sites, prevent tests running
# and potentially wiping all your data
config['is_production'] = True
# Optional, when set to True displays debugging data
#config['debug'] = False
# Database configuration. DB username is used as dbname
config['database_host'] = 'localhost'
config['database_username'] = 'jarvis'
config['database_password'] = 'password'
# Port to run server on
config['interface_http_port'] = 'XXXX'
# Passphrase for connecting to server
config['secret'] = 'secrethash'
# Timezone you'd prefer times displayed as in clients
config['timezone'] = 'Pacific/Auckland'
# Name that Jarvis will refer to you by
config['username'] = 'My Name'
# URL the web client is accessible at. Normally would be
# those hostname/ip of server and the port defined earlier.
# However, could be different if you are running the server
# behind a proxy, e.g. apache for HTTPS
config['web_baseurl'] = 'http://localhost:XXXX/'
# Set the username/password for using the web client
config['web_username'] = 'myusername'
config['web_password'] = 'mypassword'