From 61d43c971d67bd9ec91b08dfcdd873aeae9b0851 Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Fri, 29 Apr 2016 16:38:33 -0300 Subject: [PATCH] =?UTF-8?q?Adiciona=20script=20para=20atualizar=20c=C3=B3d?= =?UTF-8?q?igo=20de=20produ=C3=A7=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/atualizar_producao.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 scripts/atualizar_producao.sh diff --git a/scripts/atualizar_producao.sh b/scripts/atualizar_producao.sh new file mode 100755 index 000000000..d9ab55a82 --- /dev/null +++ b/scripts/atualizar_producao.sh @@ -0,0 +1,7 @@ +#!/bin/bash +git pull +pip install -r requirements/dev-requirements.txt +./manage.py migrate +./manage.py bower install +./manage.py collectstatic --noinput +sudo supervisorctl restart sapl