mirror of
https://github.com/Findus23/RPGnotes.git
synced 2024-09-19 15:43:45 +02:00
18 lines
284 B
Bash
18 lines
284 B
Bash
|
#!/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
|