diff --git a/update b/update index c58c8aa..92693f5 100755 --- a/update +++ b/update @@ -1,11 +1,11 @@ #!/bin/bash echo "cloning ..." -#git pull origin master +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 +pipenv run python manage.py collectstatic --settings coinmanager.production_settings --no-input echo "restarting apache ..." -#systemctl restart apache2 +sudo systemctl restart apache2