diff --git a/medicine-remd/run.sh b/medicine-remd/run.sh index ed7f645..b6d009a 100644 --- a/medicine-remd/run.sh +++ b/medicine-remd/run.sh @@ -9,6 +9,7 @@ update() { echo "readonly" | docker login docker.med-logic.ru --username readonly --password-stdin docker pull docker.med-logic.ru/medicine-remd:latest docker-compose run --rm medicine-remd python manage.py migrate --noinput + docker-compose run --rm medicine-remd python manage.py catalog_loaddata docker-compose stop docker-compose up -d