2016-12-20 19:43:16 +00:00
|
|
|
# host.py
|
|
|
|
# copy this file to settings/keys/ and replace the dummy values with real ones
|
|
|
|
# or generate it from the ansible vault
|
|
|
|
import os
|
|
|
|
|
|
|
|
# you can use this to generate a key: http://www.miniwebtool.com/django-secret-key-generator/
|
|
|
|
SECRET_KEY = os.environ.get("SECRET_KEY", '01234567890123456789012345678901234567890123456789')
|
|
|
|
|
|
|
|
# you'll need to register a GoogleBooks API key
|
|
|
|
# https://code.google.com/apis/console
|
|
|
|
GOOGLE_BOOKS_API_KEY = os.environ.get("GOOGLE_BOOKS_API_KEY", "012345678901234567890123456789012345678")
|
|
|
|
|
|
|
|
#
|
|
|
|
GOODREADS_API_KEY = os.environ.get("GOODREADS_API_KEY", "01234567890123456789")
|
2016-12-31 03:26:16 +00:00
|
|
|
GOODREADS_API_SECRET = os.environ.get("GOODREADS_API_SECRET", None) #43 chars
|
2016-12-20 19:43:16 +00:00
|
|
|
|
|
|
|
# Amazon SES
|
|
|
|
# create with https://console.aws.amazon.com/ses/home?region=us-east-1#smtp-settings:
|
|
|
|
EMAIL_HOST_USER = os.environ.get("EMAIL_HOST_USER", '01234567890123456789')
|
|
|
|
EMAIL_HOST_PASSWORD = os.environ.get("EMAIL_HOST_PASSWORD", '01234567890123456789012345678901234567890123')
|
|
|
|
|
|
|
|
# twitter auth
|
|
|
|
# you'll need to create a new Twitter application to fill in these blanks
|
|
|
|
# https://dev.twitter.com/apps/new
|
2018-07-19 21:38:36 +00:00
|
|
|
# the field for redirect url must be filled in with https://unglue.it/socialauth/complete/twitter/?
|
2016-12-20 19:43:16 +00:00
|
|
|
SOCIAL_AUTH_TWITTER_KEY = os.environ.get("SOCIAL_AUTH_TWITTER_KEY", '0123456789012345678901234')
|
|
|
|
SOCIAL_AUTH_TWITTER_SECRET = os.environ.get("SOCIAL_AUTH_TWITTER_SECRET", '01234567890123456789012345678901234567890123456789')
|
|
|
|
|
|
|
|
# support@icontact.nl
|
2016-12-31 03:26:16 +00:00
|
|
|
BOOXTREAM_API_KEY = os.environ.get("BOOXTREAM_API_KEY", None) # 30 chars
|
2016-12-20 19:43:16 +00:00
|
|
|
BOOXTREAM_API_USER = os.environ.get("BOOXTREAM_API_USER", 'user')
|
|
|
|
|
|
|
|
# you'll need to create a new Facebook application to fill in these blanks
|
|
|
|
# https://developers.facebook.com/apps/
|
|
|
|
SOCIAL_AUTH_FACEBOOK_KEY = os.environ.get("SOCIAL_AUTH_FACEBOOK_KEY", '012345678901234')
|
|
|
|
SOCIAL_AUTH_FACEBOOK_SECRET = os.environ.get("SOCIAL_AUTH_FACEBOOK_SECRET", '01234567890123456789012345678901')
|
|
|
|
|
|
|
|
# https://console.developers.google.com/apis/credentials/oauthclient/
|
|
|
|
# unglue.it (prod) SOCIAL_AUTH_GOOGLE_OAUTH2_KEY #2
|
|
|
|
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = os.environ.get("_KEY", '012345678901-01234567890123456789012345678901.apps.googleusercontent.com')
|
|
|
|
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = os.environ.get("_SECRET", '012345678901234567890123')
|
|
|
|
|
|
|
|
AWS_ACCESS_KEY_ID = os.environ.get("AWS_ACCESS_KEY_ID", '01234567890123456789')
|
2016-12-30 22:24:20 +00:00
|
|
|
AWS_SECRET_ACCESS_KEY = os.environ.get("AWS_SECRET_ACCESS_KEY", '') # 40 chars
|
2016-12-21 19:36:06 +00:00
|
|
|
|
|
|
|
DATABASE_USER = os.environ.get("DATABASE_USER", 'root')
|
|
|
|
DATABASE_PASSWORD = os.environ.get("DATABASE_PASSWORD", '')
|
|
|
|
DATABASE_HOST = os.environ.get("DATABASE_HOST", '')
|