update.sh 263 Bytes
Newer Older
1
#!/bin/bash
Alan Mitchell's avatar
Alan Mitchell committed
2 3 4
# Script to update BMON to the most recent version,
# applying migrations and copying static files to
# the static serving application.
Alan Mitchell's avatar
Alan Mitchell committed
5
git pull
6 7
pipenv run ./manage.py migrate
pipenv run ./manage.py collectstatic --noinput
8
sudo systemctl restart bmon