1 from __future__ import with_statement
3 from fabric.api import run, env, cd
6 '''Add staging server to hosts'''
7 env.hosts = ['platforma@stigma.nowoczesnapolska.org.pl:2222']
8 env.project_dir = '/home/platforma/platforma'
12 with cd(env.project_dir):
14 run('./project/manage.py syncdb')
18 with cd(env.project_dir):
19 run('touch project/dispatch.wsgi')