fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
60b209f
)
Tworzenie domyślnych katalogów current i previous w setup w fabfile.py.
author
zuber
<marek@stepniowski.com>
Mon, 12 Oct 2009 22:41:40 +0000
(
00:41
+0200)
committer
zuber
<marek@stepniowski.com>
Mon, 12 Oct 2009 22:41:40 +0000
(
00:41
+0200)
fabfile.py
patch
|
blob
|
history
diff --git
a/fabfile.py
b/fabfile.py
index
5fcb36e
..
8b55e58
100644
(file)
--- a/
fabfile.py
+++ b/
fabfile.py
@@
-48,6
+48,7
@@
def setup():
run('mkdir -p %(path)s; cd %(path)s; %(virtualenv)s --no-site-packages .;' % env, pty=True)
run('cd %(path)s; mkdir releases; mkdir shared; mkdir packages;' % env, pty=True)
run('mkdir -p %(path)s; cd %(path)s; %(virtualenv)s --no-site-packages .;' % env, pty=True)
run('cd %(path)s; mkdir releases; mkdir shared; mkdir packages;' % env, pty=True)
+ run('cd %(path)s/releases; ln -s . current; ln -s . previous' % env, pty=True)
deploy()
def deploy():
deploy()
def deploy():