2011-10-10 17:26:00 +00:00
|
|
|
from regluit.settings.common import *
|
|
|
|
|
|
|
|
DEBUG = True
|
|
|
|
TEMPLATE_DEBUG = DEBUG
|
2012-10-15 15:55:44 +00:00
|
|
|
IS_PREVIEW = False
|
2011-10-10 17:26:00 +00:00
|
|
|
|
|
|
|
ADMINS = (
|
2012-09-05 15:17:27 +00:00
|
|
|
('Raymond Yee', 'rdhyee+ungluebugs@gluejar.com'),
|
|
|
|
('Eric Hellman', 'eric@gluejar.com'),
|
2011-10-10 17:26:00 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
MANAGERS = ADMINS
|
|
|
|
|
|
|
|
DATABASES = {
|
|
|
|
'default': {
|
2011-11-21 17:38:24 +00:00
|
|
|
'ENGINE': 'django.db.backends.mysql',
|
|
|
|
'NAME': 'regluit',
|
2011-11-21 20:08:44 +00:00
|
|
|
'USER': 'regluit',
|
|
|
|
'PASSWORD': 'regluit',
|
|
|
|
'HOST': '',
|
2011-10-10 17:26:00 +00:00
|
|
|
'PORT': '',
|
2011-11-21 19:13:29 +00:00
|
|
|
'TEST_CHARSET': 'utf8',
|
2011-10-10 17:26:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
TIME_ZONE = 'America/New_York'
|
|
|
|
SECRET_KEY = '_^_off!8zsj4+)%qq623m&$7_m-q$iau5le0w!mw&n5tgt#x=t'
|
|
|
|
|
|
|
|
# settings for outbout email
|
|
|
|
# if you have a gmail account you can use your email address and password
|
|
|
|
|
|
|
|
EMAIL_USE_TLS = True
|
|
|
|
EMAIL_HOST = 'smtp.gmail.com'
|
|
|
|
EMAIL_HOST_USER = 'me@gmail.com'
|
|
|
|
EMAIL_HOST_PASSWORD = 'my-password'
|
|
|
|
EMAIL_PORT = 587
|
|
|
|
DEFAULT_FROM_EMAIL = 'info@gluejar.com'
|
|
|
|
|
|
|
|
# twitter auth
|
|
|
|
# you'll need to create a new Twitter application to fill in these blanks
|
|
|
|
# https://dev.twitter.com/apps/new
|
|
|
|
|
|
|
|
TWITTER_CONSUMER_KEY = ''
|
|
|
|
TWITTER_CONSUMER_SECRET = ''
|
|
|
|
|
|
|
|
# facebook auth
|
|
|
|
# you'll need to create a new Facebook application to fill in these blanks
|
|
|
|
# https://developers.facebook.com/apps/
|
|
|
|
|
|
|
|
FACEBOOK_APP_ID = ''
|
|
|
|
FACEBOOK_API_SECRET = ''
|
|
|
|
|
|
|
|
# google auth
|
|
|
|
# you'll need to create a new Google application to fill in these blanks
|
|
|
|
# https://code.google.com/apis/console/
|
|
|
|
GOOGLE_OAUTH2_CLIENT_ID = ''
|
|
|
|
GOOGLE_OAUTH2_CLIENT_SECRET = ''
|
|
|
|
GOOGLE_DISPLAY_NAME = 'unglue it!'
|
|
|
|
|
|
|
|
# you'll need to register a GoogleBooks API key
|
2013-12-10 22:48:04 +00:00
|
|
|
# registered to rdhye@gluejar.com on 2013.12.10
|
|
|
|
GOOGLE_BOOKS_API_KEY = 'AIzaSyC-nBaK90PIsovMRbswPYEKgA6cJfYSDmY'
|
2011-10-10 17:26:00 +00:00
|
|
|
|
|
|
|
PAYPAL_USERNAME = ''
|
|
|
|
PAYPAL_PASSWORD = ''
|
|
|
|
PAYPAL_SIGNATURE = ''
|
|
|
|
PAYPAL_APPID = ''
|
|
|
|
|
|
|
|
PAYPAL_ENDPOINT = 'svcs.sandbox.paypal.com' # sandbox
|
|
|
|
PAYPAL_PAYMENT_HOST = 'http://www.sandbox.paypal.com' # sandbox
|
|
|
|
|
|
|
|
PAYPAL_SANDBOX_LOGIN = ''
|
|
|
|
PAYPAL_SANDBOX_PASSWORD = ''
|
|
|
|
|
|
|
|
PAYPAL_BUYER_LOGIN =''
|
|
|
|
PAYPAL_BUYER_PASSWORD = ''
|
|
|
|
|
|
|
|
BASE_URL = 'http://0.0.0.0/'
|
2012-05-16 14:47:16 +00:00
|
|
|
BASE_URL_SECURE = 'http://0.0.0.0/'
|
|
|
|
IPN_SECURE_URL = False
|
2011-10-20 05:19:19 +00:00
|
|
|
|
2011-11-16 21:33:10 +00:00
|
|
|
# Goodreads API
|
|
|
|
GOODREADS_API_KEY = 'w8nsFplG3HFOeOLQ7rqfQ'
|
|
|
|
GOODREADS_API_SECRET = '8Dfl7nQ28VgzJctlVwf8m7zkPaWns4j79t0G9iFxbk'
|
|
|
|
|
2013-08-30 19:13:44 +00:00
|
|
|
# Amazon keys to permit S3 access
|
2014-02-19 23:24:23 +00:00
|
|
|
# s3_jenkins
|
2013-08-30 19:13:44 +00:00
|
|
|
DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3BotoStorage'
|
2014-02-19 23:24:23 +00:00
|
|
|
AWS_ACCESS_KEY_ID = 'AKIAJQGL74HQPHPFYJ5Q'
|
|
|
|
AWS_SECRET_ACCESS_KEY = 'aTMjUhPVtXtrsPwdioxQDPZNhMRbXgFe/uS45Mot'
|
|
|
|
AWS_STORAGE_BUCKET_NAME = 'jenkins-unglueit'
|
2013-08-30 19:13:44 +00:00
|
|
|
|
|
|
|
|
2011-10-20 05:19:19 +00:00
|
|
|
# use database as queuing service in development
|
|
|
|
BROKER_TRANSPORT = "djkombu.transport.DatabaseTransport"
|
|
|
|
INSTALLED_APPS += ("djkombu",)
|