1
0
Fork 0
This commit is contained in:
Ilya Mukhortov 2022-01-13 22:45:05 +10:00
parent ac184c4b4b
commit 4fb99c3339
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ update() {
echo "readonly" | docker login docker.med-logic.ru --username readonly --password-stdin echo "readonly" | docker login docker.med-logic.ru --username readonly --password-stdin
docker pull docker.med-logic.ru/medicine-remd:latest 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 migrate --noinput
docker-compose run --rm medicine-remd python manage.py catalog_loaddata
docker-compose stop docker-compose stop
docker-compose up -d docker-compose up -d