forked from MLTSHP/mltshp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.example.py
57 lines (56 loc) · 1.82 KB
/
settings.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
# Development settings; suitable for running against our Docker
# image.
settings = {
"app_host": "mltshp.local",
"cdn_host": "s.mltshp.local",
"api_hits_per_hour" : 150,
"auth_secret" : "dummy-secret",
"aws_bucket": "mltshp-dev",
"aws_host": "fakes3",
"aws_port": 8000,
"aws_key": "dummy-key",
"aws_secret": "dummy-secret",
"cookie_secret": "some secret string",
"database_host": "mysql",
"database_name": "mltshp",
"database_user": "root",
"database_password" : "",
"debug": True,
"debug_workers": False,
"max_mb_per_month" : 300,
"uploaded_files" : "/srv/mltshp.com/uploaded",
"use_workers": False,
"xsrf_cookies": True,
"server_id": "mltshp-web-1",
}
# Default settings for running tests; app host/cdn host are wired for
# expected values in tests.
test_settings = {
"app_host": "mltshp.com",
"cdn_host": "mltshp-cdn.com",
"cdn_ssl_host": "mltshp-cdn.com",
"cookie_secret": "secretz",
"auth_secret" : "dummy-secret",
"xsrf_cookies": True,
"uploaded_files" : "/srv/mltshp.com/uploaded",
"debug": True,
"database_user": "root",
"database_name": "mltshp_testing",
"database_password" : "",
"database_host": "mysql",
"aws_bucket": "mltshp-testing",
"aws_host": "fakes3",
"aws_port": 8000,
"aws_key": "dummy-key",
"aws_secret": "dummy-secret",
"max_mb_per_month" : 300,
"api_hits_per_hour" : 150,
"use_workers": False,
"debug_workers": True,
"superuser_list": "admin",
# these must be set for testing test/unit/externalservice_tests.py
# "twitter_consumer_key" : "twitter_consumer_key_here",
# "twitter_consumer_secret" : "twitter_consumer_secret_key_here",
# "twitter_access_key" : "twitter_access_key_here",
# "twitter_access_secret" : "twitter_access_secret_here",
}