coinmanager/update
2020-05-19 07:50:39 +00:00

12 lines
291 B
Bash
Executable File

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