coinmanager/update

12 lines
309 B
Bash
Executable File

#!/bin/bash
echo "cloning ..."
#git pull origin master
echo "collecting static files ..."
cd /home/willipink/coinmanager/coinmanager
sudo -u willipink /home/willipink/.local/bin/pipenv run manage.py collectstatic --settings coinmanager.settings_prod
echo "restarting apache ..."
#systemctl restart apache2