secret.py.template 1.22 KB
Newer Older
1
2
# secret settings
# copy to secret.py
3

4
# used for django's cryptographic signing, 50 characters long
Daniel W Bond's avatar
Daniel W Bond committed
5
# you can generate one here http://www.miniwebtool.com/django-secret-key-generator/
6
7
SECRET_KEY = ''

8
9
10
11
# These configurations are partially set by default for a local development
# environment. Remember to use a strong passphrase for deployment. Use the
# username and password you configured creating the database when following the
# README. Change the database, name, host, or port as necessary for deployment.
12
DB_NAME = 'bookshare'
13
DB_USER = 'bookworm'
14
15
16
17
18
DB_PASSWORD = ''
DB_HOST = 'localhost'
# often left blank
DB_PORT = ''

19
# configurations for your piwik tracking server
20
# if you do not set these, the tracking js will silently break
21
22
PIWIK_SITE_ID = ''
PIWIK_URL = ''
23
24

# configurations to send email via Amazon SES
25
# if you do not set these, you simply won't be able to mark listings exchanged
26
27
28
EMAIL_HOST = 'email-smtp.region-code.amazonaws.com'
EMAIL_HOST_USER = 'ses-smtp-username'
EMAIL_HOST_PASSWORD = 'ses-smtp-password'
29
30
31
32
33
34

# configurations to upload user media to Amazon S3
# these settings will not matter if MEDIA_S3 is set to False in settings.py
AWS_STORAGE_BUCKET_NAME = 'my-bucket'
AWS_ACCESS_KEY_ID = ''
AWS_SECRET_ACCESS_KEY = ''