mirror of
https://github.com/Findus23/PaperLibrary.git
synced 2024-09-08 03:13:48 +02:00
16 lines
287 B
Bash
Executable file
16 lines
287 B
Bash
Executable file
#!/bin/bash
|
|
set -x
|
|
set -e
|
|
|
|
python="/srv/venv/paperlibrary/bin/python"
|
|
|
|
manage="sudo -u paperlibrary $python manage.py"
|
|
|
|
git pull
|
|
|
|
#$manage scss
|
|
$manage collectstatic --noinput
|
|
$manage migrate
|
|
|
|
sudo systemctl reload paperlibrary.service
|
|
sudo systemctl restart paperlibrary-worker.service
|