2019-12-06 03:32:57 +00:00
|
|
|
import os
|
2021-11-10 10:29:01 +00:00
|
|
|
basedir = os.path.abspath(os.path.dirname(__file__))
|
2019-12-06 03:32:57 +00:00
|
|
|
|
|
|
|
### BASIC APP CONFIG
|
|
|
|
SALT = '$2b$12$yLUMTIfl21FKJQpTkRQXCu'
|
|
|
|
SECRET_KEY = 'e951e5a1f4b94151b360f47edf596dd2'
|
|
|
|
BIND_ADDRESS = '0.0.0.0'
|
|
|
|
PORT = 9191
|
|
|
|
HSTS_ENABLED = False
|
|
|
|
|
|
|
|
### DATABASE - SQLite
|
|
|
|
TEST_DB_LOCATION = '/tmp/testing.sqlite'
|
|
|
|
SQLALCHEMY_DATABASE_URI = 'sqlite:///{0}'.format(TEST_DB_LOCATION)
|
|
|
|
SQLALCHEMY_TRACK_MODIFICATIONS = False
|
|
|
|
|
|
|
|
# SAML Authnetication
|
|
|
|
SAML_ENABLED = False
|
|
|
|
|
|
|
|
# TEST SAMPLE DATA
|
|
|
|
TEST_USER = 'test'
|
|
|
|
TEST_USER_PASSWORD = 'test'
|
|
|
|
TEST_ADMIN_USER = 'admin'
|
|
|
|
TEST_ADMIN_PASSWORD = 'admin'
|
|
|
|
TEST_USER_APIKEY = 'wewdsfewrfsfsdf'
|
|
|
|
TEST_ADMIN_APIKEY = 'nghnbnhtghrtert'
|