Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (15 sloc) 564 Bytes
from __future__ import with_statement
from fabric.api import *
from fabric.contrib.console import confirm
env.hosts = [""]
env.user = "agiliq"
def describe():
print "This is a fab file to automate deployments for the merchant server."
def deploy():
with cd("/home/agiliq/Work/merchant"):
run("git pull")
with cd("/home/agiliq/Work/merchant/example"):
run("python validate")
run("python syncdb")
# run("merchant-restart")