diff --git a/update b/update new file mode 100755 index 0000000..c58c8aa --- /dev/null +++ b/update @@ -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