1 from fabric.api import run, env, cd
4 '''Add staging server to hosts'''
5 env.hosts = ['platforma@stigma.nowoczesnapolska.org.pl:2222']
6 env.project_dir = '/home/platforma/platforma'
10 with cd(env.project_dir):
12 run('./project/manage.py syncdb')
16 with cd(env.project_dir):
17 run('touch project/dispatch.wsgi')