coinmanager/update

12 lines
291 B
Plaintext
Raw Normal View History

#!/bin/bash
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