Added update_prod command to fab file

pull/1/head
Raymond Yee 2012-04-09 13:34:34 -07:00
parent 02e8bf268c
commit 657dd80e16
1 changed files with 4 additions and 0 deletions

4
fabfile.py vendored
View File

@ -13,6 +13,10 @@ def rydev():
env.user = 'ubuntu'
env.key_filename = key_path
def update_prod():
with cd("/opt/regluit"):
run("./deploy/update-prod")
def get_dump():
run("./dump.sh > unglue.it.sql ")
run("gzip -f unglue.it.sql")