diff --git a/scripts/atualizar_producao.sh b/scripts/atualizar_producao.sh index d9ab55a82..6649d3078 100755 --- a/scripts/atualizar_producao.sh +++ b/scripts/atualizar_producao.sh @@ -1,7 +1,9 @@ #!/bin/bash -git pull +git pull --rebase +workon sapl pip install -r requirements/dev-requirements.txt ./manage.py migrate ./manage.py bower install ./manage.py collectstatic --noinput +deactivate sudo supervisorctl restart sapl