1
0
Fork 0
mirror of https://github.com/Findus23/acronomy.git synced 2024-09-19 15:33:45 +02:00

deploy script

This commit is contained in:
Lukas Winkler 2020-07-08 22:07:42 +02:00
parent 822d68df9a
commit 8778ee6be7
Signed by: lukas
GPG key ID: 54DE4D798D244853

15
deploy.sh Normal file
View file

@ -0,0 +1,15 @@
#!/bin/bash
set -x
set -e
python="/srv/venv/acronomy/bin/python"
manage="sudo -u acronomy $python manage.py"
git pull
$manage scss
$manage collectstatic
$manage migrate
sudo systemctl reload acronomy.service