fix for update

remotes/origin/PR-39
PekopT 10 years ago
parent ba12dca5c8
commit 2b6eae990d
  1. 2
      update.sh

@ -1,8 +1,10 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source ../env/bin/activate && source ../env/bin/activate &&
pip install -r requirements/base.txt &&
git reset --hard && git reset --hard &&
git pull && git pull &&
chmod +x update.sh &&
./manage.py migrate --noinput && ./manage.py migrate --noinput &&
./manage.py collectstatic --noinput && ./manage.py collectstatic --noinput &&
supervisorctl restart arch && supervisorctl restart arch &&

Loading…
Cancel
Save