2011-10-07 03:14:29 +00:00
|
|
|
from regluit.settings.common import *
|
|
|
|
|
2011-11-17 23:05:01 +00:00
|
|
|
DEBUG = False
|
2011-10-07 03:14:29 +00:00
|
|
|
TEMPLATE_DEBUG = DEBUG
|
|
|
|
|
|
|
|
ADMINS = (
|
2011-11-18 16:37:05 +00:00
|
|
|
('Ed Summers', 'ed.summers@gmail.com'),
|
2011-10-17 18:06:11 +00:00
|
|
|
('Raymond Yee', 'rdhyee+ungluebugs@gluejar.com'),
|
2011-11-14 16:36:38 +00:00
|
|
|
('Eric Hellman', 'eric@gluejar.com'),
|
|
|
|
('Andromeda Yelton', 'andromeda@gluejar.com'),
|
2011-10-07 03:14:29 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
MANAGERS = ADMINS
|
|
|
|
|
|
|
|
DATABASES = {
|
|
|
|
'default': {
|
|
|
|
'ENGINE': 'django.db.backends.mysql',
|
2011-11-17 23:05:01 +00:00
|
|
|
'NAME': 'please',
|
2011-11-16 04:15:01 +00:00
|
|
|
'USER': 'please',
|
|
|
|
'PASSWORD': 'unglueit',
|
2011-10-07 03:14:29 +00:00
|
|
|
'HOST': 'gluejardb.cboagmr25pjs.us-east-1.rds.amazonaws.com',
|
|
|
|
'PORT': '',
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
TIME_ZONE = 'America/New_York'
|
|
|
|
SECRET_KEY = '_^_off!8zsj4+)%qq623m&$7_m-q$iau5le0w!mw&n5tgt#x=t'
|
|
|
|
|
2011-11-20 14:51:19 +00:00
|
|
|
# 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 = 'accounts@gluejar.com'
|
|
|
|
EMAIL_HOST_PASSWORD = '7k3sWyzHpI'
|
|
|
|
EMAIL_PORT = 587
|
|
|
|
DEFAULT_FROM_EMAIL = 'accounts@gluejar.com'
|
2011-10-07 03:14:29 +00:00
|
|
|
|
2011-10-10 20:40:19 +00:00
|
|
|
# googlebooks
|
|
|
|
GOOGLE_BOOKS_API_KEY = 'AIzaSyBE36z7o6NUafIWcLEB8yk2I47-8_5y1_0'
|
|
|
|
|
2011-10-07 03:14:29 +00:00
|
|
|
# twitter auth
|
|
|
|
TWITTER_CONSUMER_KEY = 'sd9StEg1N1qB8gGb2GRX4A'
|
|
|
|
TWITTER_CONSUMER_SECRET = 'YSKHn8Du6EWqpcWZ6sp5tqDPvcOBXK0WJWVGWyB0'
|
|
|
|
|
|
|
|
# facebook auth
|
|
|
|
FACEBOOK_APP_ID = '242881179080779'
|
|
|
|
FACEBOOK_API_SECRET = '5eae483a0e92113d884c427b578ef23a'
|
|
|
|
|
|
|
|
# google auth
|
|
|
|
GOOGLE_OAUTH2_CLIENT_ID = '989608723367.apps.googleusercontent.com'
|
|
|
|
GOOGLE_OAUTH2_CLIENT_SECRET = '3UqalKyNynnaaarumUIWh8vS'
|
|
|
|
GOOGLE_DISPLAY_NAME = 'unglue it!'
|
2011-10-20 04:36:41 +00:00
|
|
|
|
|
|
|
PAYPAL_USERNAME = ''
|
|
|
|
PAYPAL_PASSWORD = ''
|
|
|
|
PAYPAL_SIGNATURE = ''
|
|
|
|
PAYPAL_APPID = ''
|
|
|
|
|
|
|
|
PAYPAL_ENDPOINT = 'svcs.sandbox.paypal.com' # sandbox
|
2011-11-09 18:22:23 +00:00
|
|
|
PAYPAL_PAYMENT_HOST = 'https://www.sandbox.paypal.com' # sandbox
|
2011-10-20 04:36:41 +00:00
|
|
|
|
|
|
|
PAYPAL_SANDBOX_LOGIN = ''
|
|
|
|
PAYPAL_SANDBOX_PASSWORD = ''
|
|
|
|
|
|
|
|
PAYPAL_BUYER_LOGIN =''
|
|
|
|
PAYPAL_BUYER_PASSWORD = ''
|
|
|
|
|
|
|
|
PAYPAL_GLUEJAR_EMAIL = ""
|
|
|
|
|
|
|
|
# for test purposes have a single RH paypal email
|
|
|
|
PAYPAL_TEST_RH_EMAIL = "rh1_1317336251_biz@gluejar.com"
|
|
|
|
PAYPAL_TEST_NONPROFIT_PARTNER_EMAIL = ""
|
|
|
|
|
2011-11-11 22:33:58 +00:00
|
|
|
# Goodreads API
|
|
|
|
GOODREADS_API_KEY = "vfqIO6QAhBVvlxt6hAzZJg"
|
|
|
|
GOODREADS_API_SECRET = "57tq4MpyJ15Hgm2ToZQQFWJ7vraZzOAqHLckWRXQ"
|
|
|
|
|
|
|
|
# Freebase credentials
|
|
|
|
FREEBASE_USERNAME = ''
|
|
|
|
FREEBASE_PASSWORD = ''
|
|
|
|
|
|
|
|
# send celery log to Python logging
|
|
|
|
CELERYD_HIJACK_ROOT_LOGGER = False
|
2011-10-20 04:36:41 +00:00
|
|
|
BASE_URL = 'http://0.0.0.0/'
|
|
|
|
|
2011-10-20 05:18:04 +00:00
|
|
|
# use redis for production queue
|
|
|
|
BROKER_TRANSPORT = "redis"
|
|
|
|
BROKER_HOST = "localhost"
|
|
|
|
BROKER_PORT = 6379
|
|
|
|
BROKER_VHOST = "0"
|
2011-11-17 23:05:01 +00:00
|
|
|
|
|
|
|
LOGGING = {
|
|
|
|
'version': 1,
|
|
|
|
'disable_existing_loggers': True,
|
|
|
|
'handlers': {
|
|
|
|
'mail_admins': {
|
|
|
|
'level': 'ERROR',
|
|
|
|
'class': 'django.utils.log.AdminEmailHandler'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'loggers': {
|
|
|
|
'django.request': {
|
|
|
|
'handlers': ['mail_admins'],
|
|
|
|
'level': 'ERROR',
|
|
|
|
'propagate': True,
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-11-18 16:37:05 +00:00
|
|
|
STATIC_ROOT = '/var/www/static'
|