add update script maybe as future delploy hook
This commit is contained in:
parent
be50e60e61
commit
bb32b99be2
11
update
Executable file
11
update
Executable file
@ -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
|
Loading…
x
Reference in New Issue
Block a user