add update script maybe as future delploy hook

This commit is contained in:
willipink 2020-05-17 18:48:47 +00:00
parent be50e60e61
commit bb32b99be2

11
update Executable file
View File

@ -0,0 +1,11 @@
#!/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