1 from __future__ import with_statement
2 from fabric.api import *
6 '''Use staging server'''
7 env.hosts = ['platforma@stigma.nowoczesnapolska.org.pl:2222']
8 env.project_dir = '/home/platforma/platforma'
12 require('project_dir', provided_by=['staging'])
13 with cd(env.project_dir):
15 run('./project/manage.py syncdb')
19 with cd(env.project_dir):
20 run('touch project/dispatch.wsgi')