fix update script
This commit is contained in:
parent
5b40d4dcab
commit
f8803b18e7
6
update
6
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user