diff --git a/borgweb/update.sh b/borgweb/update.sh new file mode 100644 index 0000000..c9499ea --- /dev/null +++ b/borgweb/update.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +cd "${0%/*}" + +source ./venv/bin/activate +python ./manage.py collectstatic --noinput +python ./manage.py compress +python ./manage.py migrate --noinput +deactivate \ No newline at end of file