mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-22 17:44:20 -08:00
* first commit * checkpoint * checkpoint * first extract module 🎉 * completed census acs etl class * completed ejscreen etl * completed etl * score generation ready * improving census load and separation * score generation working 🎉 * completed etls * new score generation * PR reviews * run specific etl; starting docstrings * docstrings work * more docstrings * completed docstrings * adding pyenv version * more reasonable poetry req for python * PR comments
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
|