Merge pull request #18 from alphagov/proxy-to-alpha

Proxy to alpha
This commit is contained in:
Adam Shimali
2016-01-19 16:02:42 +00:00
11 changed files with 389 additions and 5 deletions

View File

@@ -1,3 +1,6 @@
import os
class Config(object):
DEBUG = False
NOTIFY_LOG_LEVEL = 'DEBUG'
@@ -6,6 +9,8 @@ class Config(object):
SQLALCHEMY_COMMIT_ON_TEARDOWN = False
SQLALCHEMY_RECORD_QUERIES = True
SQLALCHEMY_DATABASE_URI = 'postgresql://localhost/notification_api'
NOTIFY_DATA_API_URL = os.getenv('NOTIFY_API_URL', "http://localhost:6001")
NOTIFY_DATA_API_AUTH_TOKEN = os.getenv('NOTIFY_API_TOKEN', "dev-token")
ADMIN_CLIENT_USER_NAME = None
ADMIN_CLIENT_SECRET = None