From b76cb0a22f950628349a65ad049855b0b3069d92 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 13 Jan 2022 08:52:22 -0800 Subject: [PATCH] Adds update command to main for bw-dev --- bw-dev | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bw-dev b/bw-dev index 6bf5a125e..ede068ef8 100755 --- a/bw-dev +++ b/bw-dev @@ -136,6 +136,13 @@ case "$CMD" in prettier) npx prettier --write bookwyrm/static/js/*.js ;; + update) + git pull + docker-compose build + runweb python manage.py migrate + runweb python manage.py collectstatic --no-input + docker-compose up -d + ;; populate_streams) runweb python manage.py populate_streams "$@" ;;