Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
energy
bmon
Commits
699a9d2d
Commit
699a9d2d
authored
Nov 24, 2020
by
Alan Mitchell
Browse files
Updated script that upgrades application.
parent
a69af903
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
update.sh
update.sh
+4
-3
No files found.
update.sh
View file @
699a9d2d
#!/bin/sh
#!/bin/
ba
sh
# 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment