Commit 03e65edfb486f1d2b5d83b22b5603c77fbed9905
1 parent
9da04037
Exists in
dev
fixing database installation (was missing an environment variable to indicate to…
… use the default observatory configuration)
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
pyros.py
... | ... | @@ -1063,6 +1063,7 @@ def install_database(venv): |
1063 | 1063 | |
1064 | 1064 | SQL_USER = os.environ.get("MYSQL_PYROS_LOGIN").strip() |
1065 | 1065 | SQL_PSWD = os.environ.get("MYSQL_PYROS_PWD").strip() |
1066 | + os.environ["PATH_TO_OBSCONF_FOLDER"] = os.path.join(os.path.abspath(PYROS_DJANGO_BASE_DIR),"../../../privatedev/config/default/") | |
1066 | 1067 | print(Colors.LOG_BLUE + END_OF_LINE+"-----------------------------Launching mysql to create database and create and grant user pyros-----------------------------" + Colors.END) |
1067 | 1068 | |
1068 | 1069 | # -------------------------------------------- | ... | ... |