from fabric.api import local, settings, abort, run, cd, env, hosts
from fabric.contrib.console import confirm

@hosts("sites@folky.fr")
def deploy_test():
	code_dir = '/home/sites/portfolio-test/portfolio'
	with cd(code_dir):
		run("git pull")
		run("../bin/python -c \"from werkzeug.contrib.cache import MemcachedCache; MemcachedCache(['127.0.0.1:11211'], key_prefix='portfolio').clear()\"")
		run("../bin/python webapp.py collectstatic")

@hosts("sites@folky.fr")
def deploy():
	code_dir = '/home/sites/portfolio/portfolio'
	with cd(code_dir):
		run("git pull")
		run("../bin/python -c \"from werkzeug.contrib.cache import MemcachedCache; MemcachedCache(['127.0.0.1:11211'], key_prefix='portfolio').clear()\"")
		run("../bin/python webapp.py collectstatic")
a13f622bc7c47599ebf7117f3f02b61a42532c24
<mask token>

<mask token>


@hosts('sites@folky.fr')
def deploy():
    code_dir = '/home/sites/portfolio/portfolio'
    with cd(code_dir):
        run('git pull')
        run('../bin/python -c "from werkzeug.contrib.cache import MemcachedCache; MemcachedCache([\'127.0.0.1:11211\'], key_prefix=\'portfolio\').clear()"'
            )
        run('../bin/python webapp.py collectstatic')

<mask token>


@hosts('sites@folky.fr')
def deploy_test():
    code_dir = '/home/sites/portfolio-test/portfolio'
    with cd(code_dir):
        run('git pull')
        run('../bin/python -c "from werkzeug.contrib.cache import MemcachedCache; MemcachedCache([\'127.0.0.1:11211\'], key_prefix=\'portfolio\').clear()"'
            )
        run('../bin/python webapp.py collectstatic')


@hosts('sites@folky.fr')
def deploy():
    code_dir = '/home/sites/portfolio/portfolio'
    with cd(code_dir):
        run('git pull')
        run('../bin/python -c "from werkzeug.contrib.cache import MemcachedCache; MemcachedCache([\'127.0.0.1:11211\'], key_prefix=\'portfolio\').clear()"'
            )
        run('../bin/python webapp.py collectstatic')

from fabric.api import local, settings, abort, run, cd, env, hosts
from fabric.contrib.console import confirm


@hosts('sites@folky.fr')
def deploy_test():
    code_dir = '/home/sites/portfolio-test/portfolio'
    with cd(code_dir):
        run('git pull')
        run('../bin/python -c "from werkzeug.contrib.cache import MemcachedCache; MemcachedCache([\'127.0.0.1:11211\'], key_prefix=\'portfolio\').clear()"'
            )
        run('../bin/python webapp.py collectstatic')


@hosts('sites@folky.fr')
def deploy():
    code_dir = '/home/sites/portfolio/portfolio'
    with cd(code_dir):
        run('git pull')
        run('../bin/python -c "from werkzeug.contrib.cache import MemcachedCache; MemcachedCache([\'127.0.0.1:11211\'], key_prefix=\'portfolio\').clear()"'
            )
        run('../bin/python webapp.py collectstatic')

from fabric.api import local, settings, abort, run, cd, env, hosts
from fabric.contrib.console import confirm

@hosts("sites@folky.fr")
def deploy_test():
	code_dir = '/home/sites/portfolio-test/portfolio'
	with cd(code_dir):
		run("git pull")
		run("../bin/python -c \"from werkzeug.contrib.cache import MemcachedCache; MemcachedCache(['127.0.0.1:11211'], key_prefix='portfolio').clear()\"")
		run("../bin/python webapp.py collectstatic")

@hosts("sites@folky.fr")
def deploy():
	code_dir = '/home/sites/portfolio/portfolio'
	with cd(code_dir):
		run("git pull")
		run("../bin/python -c \"from werkzeug.contrib.cache import MemcachedCache; MemcachedCache(['127.0.0.1:11211'], key_prefix='portfolio').clear()\"")
		run("../bin/python webapp.py collectstatic")