Commit 699a9d2d authored by Alan Mitchell's avatar Alan Mitchell
Browse files

Updated script that upgrades application.

parent a69af903
#!/bin/sh
#!/bin/bash
# Script to update BMON to the most recent version,
# applying migrations and copying static files to
# the static serving application.
../apache2/bin/stop
git pull
source bmonenv/bin/activate
./manage.py migrate
./manage.py collectstatic --noinput
../apache2/bin/restart
deactivate
sudo systemctl restart bmon
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment