mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 10:04:18 -08:00
* initial checkin * gitignore and docker-compose update * readme update and error on hud * encoding issue * one more small README change * data roadmap re-strcuture * pyproject sort * small update to score output folders * checkpoint * couple of last fixes
15 lines
349 B
Python
15 lines
349 B
Python
from dynaconf import Dynaconf
|
|
from pathlib import Path
|
|
|
|
settings = Dynaconf(
|
|
envvar_prefix="DYNACONF",
|
|
settings_files=["settings.toml", ".secrets.toml"],
|
|
environments=True,
|
|
)
|
|
|
|
# set root dir
|
|
settings.APP_ROOT = Path.cwd()
|
|
|
|
# To set an environment use:
|
|
# Linux/OSX: export ENV_FOR_DYNACONF=staging
|
|
# Windows: set ENV_FOR_DYNACONF=staging
|