Merge branch 'master' of ssh://willipink.eu:3456/moritz/coinmanager

This commit is contained in:
koksnuss 2020-06-01 01:12:52 +02:00
commit b02f25af35
2 changed files with 6 additions and 3 deletions

Binary file not shown.

9
update
View File

@ -3,11 +3,14 @@
set -e set -e
echo "cloning ..." echo "cloning ..."
git pull origin master git pull origin master >/dev/null
echo "collecting static files ..." echo "collecting static files ..."
cd /home/willipink/coinmanager/coinmanager cd /home/willipink/coinmanager/coinmanager
pipenv run python manage.py collectstatic --settings coinmanager.production_settings --no-input pipenv run python manage.py collectstatic --settings coinmanager.production_settings --no-input >/dev/null
echo "owning everything ..."
sudo chown -R willipink:www-data /home/willipink/coinmanager >/dev/null
echo "reloading apache ..." echo "reloading apache ..."
sudo systemctl reload apache2 sudo systemctl reload apache2 >/dev/null