-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlocal_settings.py.example
35 lines (26 loc) · 1.01 KB
/
local_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
"""
local_settings.py.example
Update the values below with your own and rename this file to local_settings.py
These settings are imported into the standard django settings.py
Store settings that shouldn't be shared on github here
"""
# you'll need a census api key to access census data in bulk
# https://api.census.gov/data/key_signup.html
CENSUS_API_KEY = 'YOUR_CENSUS_API_KEY'
# django secret key. you can generate one here:
# https://www.miniwebtool.com/django-secret-key-generator/
LOCAL_SECRET_KEY = 'DJANGO_SECRET_KEY'
# the postgres database settings
DB_HOST = 'your_db_host'
DB_PORT = 5328 # default for postgres
DB_NAME = 'your_db_name'
DB_USER = 'your_db_user'
DB_PASSWORD = 'password_for_db_user'
# CKAN datastore database settings
DATASTORE_HOST = 'your_db_host'
DATASTORE_PORT = 5328 # default for postgres
DATASTORE_NAME = 'your_db_name'
DATASTORE_USER = 'your_db_user'
DATASTORE_PASSWORD = 'password_for_db_user'
# You'll want to set this to false for your production version(s) of this file
LOCAL_DEBUG = True