update.sh 254 Bytes
Newer Older
Alan Mitchell's avatar
Alan Mitchell committed
1
#!/bin/sh
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 6 7
../apache2/bin/stop
git pull
./manage.py migrate
8
./manage.py collectstatic --noinput
Alan Mitchell's avatar
Alan Mitchell committed
9
../apache2/bin/restart