diff --git a/.gitignore b/.gitignore index ab5b39c..5a0a390 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ Pipfile.lock **/work_data/* **/__pycache__/* *.sqlite +coinmanager/static/* diff --git a/coinmanager/db.sqlite3 b/coinmanager/db.sqlite3 old mode 100644 new mode 100755 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