mirror of
https://github.com/Findus23/acronomy.git
synced 2024-09-16 12:13:44 +02:00
re-add deploy.sh
This commit is contained in:
parent
385433b2c6
commit
b0d3646b9a
1 changed files with 15 additions and 0 deletions
15
deploy.sh
Executable file
15
deploy.sh
Executable 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
|
Loading…
Reference in a new issue