Browse Source

Adiciona a ativação/desativação do virtualenv

pull/382/head
Edward Ribeiro 9 years ago
parent
commit
4f9ed658f1
  1. 4
      scripts/atualizar_producao.sh

4
scripts/atualizar_producao.sh

@ -1,7 +1,9 @@
#!/bin/bash #!/bin/bash
git pull git pull --rebase
workon sapl
pip install -r requirements/dev-requirements.txt pip install -r requirements/dev-requirements.txt
./manage.py migrate ./manage.py migrate
./manage.py bower install ./manage.py bower install
./manage.py collectstatic --noinput ./manage.py collectstatic --noinput
deactivate
sudo supervisorctl restart sapl sudo supervisorctl restart sapl

Loading…
Cancel
Save