Merge pull request #1927 from bookwyrm-social/update-command

Refresh web and celery in update command
This commit is contained in:
Mouse Reeve 2022-02-09 09:25:15 -08:00 committed by GitHub
commit bd846bba34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
bw-dev
View file

@ -143,6 +143,8 @@ case "$CMD" in
runweb python manage.py migrate runweb python manage.py migrate
runweb python manage.py collectstatic --no-input runweb python manage.py collectstatic --no-input
docker-compose up -d docker-compose up -d
docker-compose restart web
docker-compose restart celery_worker
;; ;;
populate_streams) populate_streams)
runweb python manage.py populate_streams "$@" runweb python manage.py populate_streams "$@"