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

re-add deploy.sh

This commit is contained in:
Lukas Winkler 2021-06-06 18:31:33 +02:00
parent 385433b2c6
commit b0d3646b9a
Signed by: lukas
GPG key ID: 54DE4D798D244853

15
deploy.sh Executable 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 --noinput
$manage migrate
sudo systemctl reload acronomy.service