fnp
/
redakcja.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Poprawienie README.rst. Dodanie sekcji "WdroĊĵenie".
[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')