From 4f9ed658f102630de1f5a9b8365c5569a6161b97 Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Mon, 2 May 2016 12:54:11 -0300 Subject: [PATCH] =?UTF-8?q?Adiciona=20a=20ativa=C3=A7=C3=A3o/desativa?= =?UTF-8?q?=C3=A7=C3=A3o=20do=20virtualenv?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/atualizar_producao.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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