fnp
/
redakcja.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
1cf26790fdd8f0df360f100173f6bfeef3bd53be
[redakcja.git]
/
fabfile.py
1
from fabric.api import run, env, cd
2
3
def staging():
4
'''Add staging server to hosts'''
5
env.hosts += ['platforma@stigma.nowoczesnapolska.org.pl:2222']
6
7
def deploy():
8
'''Deploy server'''
9
with cd('platforma'):
10
run('git pull')
11
run('./project/manage.py syncdb')