-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathsettings.py.example
93 lines (65 loc) · 2.31 KB
/
settings.py.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
DATABASE_IP = "database IP"
DATABASE_DB_NAME = "database DB name"
DATABASE_USER = "database username"
DATABASE_PASS = "database password"
RAW_RESOURCE_DIR = "/a/path"
RELINK_SECRET = "random string for relinking. Put >10 characters of randomness here"
RESOURCE_DIR = "Absolute filesystem path where resources will be stored."
GRAPHITE_DB_IP = '<ip-addr-goes-here>'
RPC_AGENT_HOST = '<ip-addr-goes-here>'
REDIS_SERVER_IP = '<ip-addr-goes-here>'
SYNC_RPC_SERVER = '<ip-addr-goes-here>'
WATTPAD_AUTH_CREDS = {
"username" : '<username>',
"password" : '<pwd>'
}
# RabbitMQ bits and bobs.
RABBIT_ENABLED = True # Set this false to disable rabbitmq interface
RABBIT_LOGIN = "<username-goes-here>"
RABBIT_PASWD = "<password-goes-here>"
RABBIT_SRVER = "<your-domain>:5671"
RABBIT_VHOST = "/<your-vhost-for-wlnupdates>"
# RabbitMQ bits and bobs.
RPC_RABBIT_LOGIN = "<username-goes-here>"
RPC_RABBIT_PASWD = "<password-goes-here>"
RPC_RABBIT_SRVER = "<your-domain>:5671"
RPC_RABBIT_VHOST = "/<your-vhost-for-rpc-agents>"
SPHINX_AVAILABLE = True
SPHINX_SERVER_IP = '<ip-goes-here>'
SPHINX_SERVER_PORT = 9306
SPHINX_SERVER_USER = ""
SPHINX_SERVER_PASS = ""
SPHINX_SERVER_TABLE = "webarchive"
CHUNK_CACHE_DIR = "/a/path"
SECRET_KEY = b'some random string'
WTF_CSRF_SECRET_KEY = b'another random string'
SECURITY_PASSWORD_SALT = b'more random strings'
WATTPAD_AUTH_CREDS = {
}
INFLUX_DB_URL = "<addres-goes-here>"
INFLUX_DB_PORT = 8086
INFLUX_DB_DBNAME = "readable_web_proxy"
RRL_API_KEY = '<I have no idea how you can get one of these without talking to the RRL admins>'
RAW_REWALK_INTERVAL_DAYS = 90
REWALK_INTERVAL_DAYS = 60
# Items will not be processed unless they include at least
# one of the following tags.
WATTPAD_REQUIRED_TAGS = [
"tag 1",
"tag 2"
]
# Items with any of the following tags
# will be rejected, even if they
# have a required tag.
WATTPAD_MASKED_TAGS = [
"bad tag a",
"bad tag b",
]
BOOKSIE_REQUIRED_TAGS = WATTPAD_REQUIRED_TAGS
BOOKSIE_MASKED_TAGS = WATTPAD_MASKED_TAGS
RAW_NO_PROCESSES = 10
MAX_DB_SESSIONS = 10
NO_PROCESSES = 10
web_logins = {
"herp" : "wattttttt"
}