This repository has been archived by the owner on May 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathconfig.example.py
58 lines (48 loc) · 1.79 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# webapp2 configuration
debug=True
# API configuration.
keyid='1234567'
vcode='some-really-long-verification-code'
# Service configuration
corp_id = 12345670
sla_days = 7
# Ideally this would come from the CCP database dump, but thpppbbbtttt.
# Constructed manually instead.
supported_locs = {
60008494: "Amarr VIII",
60011824: "Orvolle I",
}
other_locs = {
60011731: "Orvolle VI-1",
60012067: "Murethand VIII-2",
60009808: "Mesybier VII",
60011728: "Adacyne III-14",
60006511: "Mendori IX - Moon 9 - Imperial Armaments Factory",
60003760: "Jita IV-4",
60011725: "Adacyne IV-14",
}
# Docs link.
doc_url='http://example.com/your-docs'
calc_url='http://example.com/calc.html'
# Evelink configuration.
get_evelink_cache=None
# Here's an alternative.
#def get_evelink_cache():
# from evelink.cache.sqlite import SqliteCache
# return SqliteCache('/tmp/contract-watcher-cache.db')
# WSGI configuration. Optional; only needed if you're planning on running
# standalone.
host='127.0.0.1'
port='8091'
# Auth configuration
require_login=True
# The below auth configuration is only required if require_login is True.
braveapi_endpoint='http://core.example.com/api'
braveapi_my_privkey='................................................................'
braveapi_my_pubkey='................................................................................................................................'
braveapi_my_id='........................'
braveapi_server_pubkey='................................................................................................................................'
braveapi_perm_view='yourapp.view'
# This is used for encrypting sessions, so you need to generate a random string here
# and then protect it.
session_secret_key='................................'