-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.default.ini
77 lines (65 loc) · 2.26 KB
/
settings.default.ini
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
## Issues Configuration
## For enabling simple server migration and setup.
## If running on openshift or other cloud platform like heroku,
## overwrite applicable settings (e.g. w/ "...") with environment variables.
## See boot.py for mapping.
## Else, create a 'settings.ini' that would overwrite values in this file with your own.
## Your 'settings.ini' will be ignored from repository commits.
##
## Requirements/Notes:
## - End all directory paths with a trailing slash, e.g. "path/to/my_directory/" or "/" (for root path from server).
## Unique Security Settings
## Override these with OpenShift server variables when applicable, e.g. use OPENSHIFT_MONGODB_DB_URL for mongo_url.
[security]
mongo_url = mongodb://localhost:27017/
mongo_db = isproject
hash_rounds = 200000
salt_size = 18
ip_flood_limit = 1800
cookies_secret = ... CREATE_A_SECRET
cookies_secret_key = ... CREATE_A_SECRET_KEY
sessions_duration = 86400
redis_url = ... Enter-Url.No_HTTP_Predicate.But.IncludeColonPlusPortNumber:17616
redis_password = ...
# memcached_url = ...
# memcached_user = memcachedcloud
# memcached_password = ...
sessions_type = redis
sessions_dir = tmp_data/sessions/
log_files = false
google_recaptcha_key = ...
uses_https = true
## App Info
[app_info]
site_name = My Issues
site_port = 80
site_domain = myissues.us
app_description = Issues - A BAC Thesis Project -- BETA
app_service_name = IssuesWebApp
root_directory = /
admin_user = ...
log_dir = logs/
api_request_path = api/
# [seo]
# prerender_url = http://api.prerender.io/recache
# prerender_key = ...
## Bulk Data Import Settings
[data]
enable_scheduled_import = false
bulk_import_frequency = 604800
temp_dir = tmp_data/imports/
# Path to local mongoimport executable, required for import. Doesn't need to be same as of running DB instance.
path_to_mongoimport = C:/mongodb/bin/mongoimport.exe
bulk_data_files = {"bill_tags" : {"url" : "https://www.govtrack.us/data/db/django-fixture-billterms.json", "index" : [["pk", 1]], "indexOpts": {"unique" : true}}}
[email]
mode = sendgrid
sendgrid_api_url = https://api.sendgrid.com/api/mail.send.json
sendgrid_api_user = ...
sendgrid_api_key = ...
replyto_email = ...
global_bcc_email = ...
[discussions]
disqus_private_key = ...
disqus_public_key = ...
disqus_access_name = ...
disqus_access_token = ...