From bf14a037b498a4c36342be27941b1774297f9a3a Mon Sep 17 00:00:00 2001 From: Ilya Mukhortov Date: Tue, 29 Aug 2023 20:35:34 +1000 Subject: [PATCH] pass --- bash_scripts/install-remd.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 bash_scripts/install-remd.sh diff --git a/bash_scripts/install-remd.sh b/bash_scripts/install-remd.sh new file mode 100644 index 0000000..ea90cbf --- /dev/null +++ b/bash_scripts/install-remd.sh @@ -0,0 +1,11 @@ +set -e + +echo "readonly" | docker login docker.med-logic.ru --username readonly --password-stdin + +docker pull docker.med-logic.ru/medicine-remd:latest + +cd /root/medicine-config/medicine-stack +docker-compose exec postgres psql -c 'CREATE DATABASE medicine_remd' --username=postgres + +cd /root/medicine-config/medicine-remd +docker-compose run --rm medicine-remd python manage.py post_install