Exemple #1
0
def update_all_sites(remote=None, branch=None, verbose=True):
	pull(remote, branch)
	
	# maybe there are new framework changes, any consequences?
	reload(webnotes)
	
	build()
	for site in get_sites():
		latest(site=site, verbose=verbose)
Exemple #2
0
def update_all_sites(remote=None, branch=None, verbose=True):
    pull(remote, branch)

    # maybe there are new framework changes, any consequences?
    reload(webnotes)

    build()
    for site in get_sites():
        latest(site=site, verbose=verbose)
Exemple #3
0
def update(remote=None, branch=None, reload_gunicorn=False):
	pull(remote=remote, branch=branch)

	# maybe there are new framework changes, any consequences?
	reload(webnotes)
	build()
	latest()
	if reload_gunicorn:
		import subprocess
		subprocess.check_output("killall -HUP gunicorn".split())
Exemple #4
0
def update(remote=None, branch=None, site=None, reload_gunicorn=False):
    pull(remote=remote, branch=branch, site=site)

    # maybe there are new framework changes, any consequences?
    reload(webnotes)

    if not site: build()

    latest(site=site)
    if reload_gunicorn:
        import subprocess
        subprocess.check_output("killall -HUP gunicorn".split())
Exemple #5
0
def update_all_sites(remote=None, branch=None, verbose=True):
    pull(remote, branch)
    build()
    for site in get_sites():
        latest(site=site, verbose=verbose)
Exemple #6
0
def update_all_sites(remote=None, branch=None, verbose=True):
	pull(remote, branch)
	build()
	for site in get_sites():
		latest(site=site, verbose=verbose)