coinmanager/update

14 lines
299 B
Plaintext
Raw Normal View History

#!/bin/bash
2020-05-19 12:49:31 +00:00
set -e
echo "cloning ..."
2020-05-19 07:50:39 +00:00
git pull origin master
echo "collecting static files ..."
cd /home/willipink/coinmanager/coinmanager
2020-05-19 07:50:39 +00:00
pipenv run python manage.py collectstatic --settings coinmanager.production_settings --no-input
echo "restarting apache ..."
2020-05-19 07:50:39 +00:00
sudo systemctl restart apache2