mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 02:42:26 -05:00
You will need to run the /scripts/bootstrap.sh to create the database for test and the app.
27 lines
522 B
Python
27 lines
522 B
Python
|
|
class Config(object):
|
|
DEBUG = False
|
|
ASSETS_DEBUG = False
|
|
cache = False
|
|
manifest = True
|
|
|
|
SQLALCHEMY_COMMIT_ON_TEARDOWN = False
|
|
SQLALCHEMY_RECORD_QUERIES = True
|
|
SQLALCHEMY_DATABASE_URI = 'postgresql://localhost/notifications_admin'
|
|
MAX_FAILED_LOGIN_COUNT = 10
|
|
|
|
|
|
class Development(Config):
|
|
DEBUG = True
|
|
|
|
|
|
class Test(Config):
|
|
DEBUG = False
|
|
SQLALCHEMY_DATABASE_URI = 'postgresql://localhost/test_notifications_admin'
|
|
|
|
|
|
configs = {
|
|
'development': Development,
|
|
'test': Test
|
|
}
|