-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yml.template
64 lines (53 loc) · 1.86 KB
/
config.yml.template
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
---
debug: True
# generate a secret key https://docs.djangoproject.com/en/dev/ref/settings/#secret-key>
secret_key: ""
# default is generally 127.0.0.1
internal_ips: "127.0.0.1"
# default is mysql. is set in accountability_tracker/accountability_tracker/settings_production.py
database:
host: # "<localhost>"
port: # default for local environment is usually 3306
database: # "<name of your database>"
username: # "<name of your database user>"
password: # "<password of your database user>"
# optional if you intend to generate emails from an application
email:
host: ""
user: ""
password: ""
port: # set to port number
use_tls: # generally set this to True
cache:
host: "localhost"
port: # set to port number
db: # set to database id
# required absolute path to the build & deploy directory for django-bakery and deployment
build:
deploy_dir: "/Volumes/one_tb_hd/_programming/2kpcc/static-projects/test/keller"
build_dir: "/Volumes/one_tb_hd/_programming/2kpcc/static-projects/test/keller/elections"
views:
#- "maplight_finance.views.InitialListView"
#- "maplight_finance.views.InitialDetailView"
#- "cali_water.views.InitialListView"
#- "cali_water.views.InitialDetailView"
- "election_profiles.views.InitialListView"
- "election_profiles.views.InitialDetailView"
# api settings and keys for the application
api:
# key to access twitter api
tweepy:
consumer_key: ""
consumer_secret: ""
access_token: ""
access_token_secret: ""
# key for kpcc's assethost API
assethost:
token_secret: ""
# required key for maplight's api: http://maplight.org/us-congress/guide/tools/apis-and-widgets
maplight:
api_key: ""
# headers to use for api requests
headers:
from: ""
user_agent: "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.53 Safari/525.19"