docker: add_institution command

This commit is contained in:
pedro 2024-09-19 14:05:28 -03:00
parent ad59484b03
commit a1ffdb5ed6
1 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,9 @@ deploy() {
# inspired by https://medium.com/analytics-vidhya/django-with-docker-and-docker-compose-python-part-2-8415976470cc
echo "INFO detected NEW deployment"
./manage.py migrate
./manage.py add_user user@example.org 1234
./manage.py add_institution example-org
# TODO: one error on add_user, and you don't add user anymore
./manage.py add_user example-org user@example.org 1234
fi
}