Browse files

comando template_deploy para fazer deploy de templates e arquivos est…

…áticos sem instalar nada nem reiniciar o servidor
  • Loading branch information...
1 parent ae03fc6 commit ae44ec3a06884e6a1173b4917042f8348759297c @douglasmiranda committed Dec 24, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 fabfile.py
View
7 fabfile.py
@@ -142,3 +142,10 @@ def deploy():
pip_install()
collect_static_files()
restart_gunicorn()
+
+
+@roles('server')
+def template_deploy():
+ update_repo()
+ update_app()
+ collect_static_files()

0 comments on commit ae44ec3

Please sign in to comment.