1
0
Fork 0
mirror of https://github.com/Findus23/RPGnotes.git synced 2024-09-19 15:43:45 +02:00
RPGnotes/deploy.sh
2021-09-07 14:58:12 +02:00

17 lines
284 B
Bash
Executable file

#!/bin/bash
set -x
set -e
python="/srv/venv/rpgnotes/bin/python"
manage="sudo -u rpgnotes $python manage.py"
git pull
$manage scss
$manage collectstatic --noinput
$manage migrate
$manage clearcache
$manage thumbnail clear_delete_referenced
sudo systemctl reload rpgnotes.service