Re-add reading of local .env file

This commit is contained in:
Ramon Wenger 2022-11-09 10:52:23 +01:00
parent 6788507041
commit 5cfce209b6
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ from vbv_lernwelt.core.utils import structlog_add_app_info
SERVER_ROOT_DIR = Path(__file__).resolve(strict=True).parent.parent.parent
APPS_DIR = SERVER_ROOT_DIR / "vbv_lernwelt"
env = Env()
env.read_env()
# set to "development" for local development
APP_ENVIRONMENT = env("IT_APP_ENVIRONMENT")