diff --git a/docker/PYROS_DOCKER_INSTALL b/docker/PYROS_DOCKER_INSTALL index 4ca44ce..6e73cba 100755 --- a/docker/PYROS_DOCKER_INSTALL +++ b/docker/PYROS_DOCKER_INSTALL @@ -6,6 +6,7 @@ then echo "db_pyros or pyros weren't running, starting them..." ./PYROS_DOCKER_START.bat fi + # while db container isn't ready to execute queries, wait 5 seconds if ! docker inspect db_pyros --format='{{.State.Health.Status}}' | grep -q 'healthy' then @@ -15,6 +16,7 @@ while ! docker inspect db_pyros --format='{{.State.Health.Status}}' | grep -q 'h do sleep 5 done + # db container is ready to execture queries, we can start the installation docker exec -it pyros python3 pyros.py install diff --git a/src/core/pyros_django/misc/templates/base.html b/src/core/pyros_django/misc/templates/base.html index efabae6..f86cad3 100644 --- a/src/core/pyros_django/misc/templates/base.html +++ b/src/core/pyros_django/misc/templates/base.html @@ -588,7 +588,7 @@ footer{