def deploy(environment=None): """Do all the required steps in order""" if environment == None: environment = _infer_environment() create_private_settings() link_local_settings(environment) update_git_submodules() create_ve() update_db() if post_deploy in localtasks: localtasks.post_deploy(environment)
def deploy(environment=None): """Do all the required steps in order""" if environment == None: environment = _infer_environment() if env["verbose"]: print "Inferred environment as %s" % environment create_private_settings() link_local_settings(environment) update_git_submodules() create_ve() update_db() collect_static() if hasattr(localtasks, "post_deploy"): localtasks.post_deploy(environment) print "\n*** Finished deploying %s for %s." % (env["project_name"], environment)
def deploy(environment=None): """Do all the required steps in order""" if environment == None: environment = _infer_environment() if env['verbose']: print "Inferred environment as %s" % environment create_private_settings() link_local_settings(environment) update_git_submodules() create_ve() update_db() collect_static() if hasattr(localtasks, 'post_deploy'): localtasks.post_deploy(environment) print "\n*** Finished deploying %s for %s." % (env['project_name'], environment)