mirror of
https://github.com/Findus23/acronomy.git
synced 2024-09-19 15:33:45 +02:00
deploy script
This commit is contained in:
parent
822d68df9a
commit
8778ee6be7
1 changed files with 15 additions and 0 deletions
15
deploy.sh
Normal file
15
deploy.sh
Normal 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
|
||||||
|
$manage migrate
|
||||||
|
|
||||||
|
sudo systemctl reload acronomy.service
|
Loading…
Reference in a new issue