Adds build step to update command

This commit is contained in:
Mouse Reeve 2021-03-21 14:23:26 -07:00
parent c9f7ab6389
commit 97697ce5d5

1
bw-dev
View file

@ -75,6 +75,7 @@ case "$CMD" in
;;
update)
git pull
docker-compose build
docker-compose exec web python manage.py migrate
docker-compose exec web python manage.py collectstatic --no-input
docker-compose restart