coinmanager/update
2020-05-19 12:49:31 +00:00

14 lines
299 B
Bash
Executable File

#!/bin/bash
set -e
echo "cloning ..."
git pull origin master
echo "collecting static files ..."
cd /home/willipink/coinmanager/coinmanager
pipenv run python manage.py collectstatic --settings coinmanager.production_settings --no-input
echo "restarting apache ..."
sudo systemctl restart apache2