def update(): path = os.getcwd() c = Controller(path) return c.deploy(request.args, 'upgrade')
def deploy(): path = os.getcwd() c = Controller(path) return c.deploy(request.args)