From bb32b99be2204951ba642ae19496abbd64ca46f1 Mon Sep 17 00:00:00 2001 From: willipink Date: Sun, 17 May 2020 18:48:47 +0000 Subject: [PATCH] add update script maybe as future delploy hook --- update | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 update 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