Total Complexity | 0 |
Total Lines | 11 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | import os |
||
2 | |||
3 | from app import create_app |
||
4 | from config.app_config import ProductionLevelConfig |
||
5 | from config.db_config import RemoteDBConfig |
||
6 | |||
7 | if "SECRET_KEY" not in os.environ: |
||
8 | raise Warning("The secret key must be passed by the <SECRET_KEY> envvar.") |
||
9 | |||
10 | application = create_app(ProductionLevelConfig, RemoteDBConfig) |
||
11 |