Commit f63b45d8eabfbaece9b4df750b5100c17d6f96e2
1 parent
cf1003d3
Exists in
dev
set environ PATH_TO_OBSCONF_FILE var in pyros install
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
pyros.py
... | ... | @@ -573,6 +573,8 @@ def install_or_update(UPDATE: bool = False, with_packages: bool = True, with_dat |
573 | 573 | SQL_PSWD = os.environ.get("MYSQL_PYROS_PWD").strip() |
574 | 574 | os.environ["PATH_TO_OBSCONF_FOLDER"] = os.path.join(os.path.abspath( |
575 | 575 | PYROS_DJANGO_BASE_DIR), "../../../privatedev/config/default/") |
576 | + os.environ["PATH_TO_OBSCONF_FILE"] = os.path.join(os.path.abspath( | |
577 | + PYROS_DJANGO_BASE_DIR), os.environ["PATH_TO_OBSCONF_FOLDER"] + "observatory_default.yml") | |
576 | 578 | ACTION = "UPDATING" if UPDATE else "INSTALLING" |
577 | 579 | |
578 | 580 | # if WITH_DOCKER: with_database = True | ... | ... |