fix update script

This commit is contained in:
willipink 2020-05-19 07:50:39 +00:00
parent 5b40d4dcab
commit f8803b18e7

6
update
View File

@ -1,11 +1,11 @@
#!/bin/bash #!/bin/bash
echo "cloning ..." echo "cloning ..."
#git pull origin master git pull origin master
echo "collecting static files ..." echo "collecting static files ..."
cd /home/willipink/coinmanager/coinmanager 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 ..." echo "restarting apache ..."
#systemctl restart apache2 sudo systemctl restart apache2