From: zuber Date: Mon, 12 Oct 2009 22:41:40 +0000 (+0200) Subject: Tworzenie domyślnych katalogów current i previous w setup w fabfile.py. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/97059a831f2e7ac44ccfacde3950cc2561c539ee?hp=--cc Tworzenie domyślnych katalogów current i previous w setup w fabfile.py. --- 97059a831f2e7ac44ccfacde3950cc2561c539ee diff --git a/fabfile.py b/fabfile.py index 5fcb36e8..8b55e587 100644 --- 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('cd %(path)s/releases; ln -s . current; ln -s . previous' % env, pty=True) deploy() def deploy():