From: Radek Czajka Date: Thu, 4 Aug 2011 14:50:41 +0000 (+0200) Subject: fabric pointed to new server X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/85e4c2bbb02c7a8526cf391ecfdc05c01c22f88e?ds=sidebyside fabric pointed to new server --- diff --git a/fabfile.py b/fabfile.py index 812d2e062..8b16d4608 100644 --- a/fabfile.py +++ b/fabfile.py @@ -24,16 +24,7 @@ def staging(): def production(): """Use production server""" - env.hosts = ['wolnelektury.pl:22123'] - env.user = 'fundacja' - env.path = '/opt/lektury/wolnelektury' - env.python = '/opt/lektury/basevirtualenv/bin/python' - env.virtualenv = '/opt/lektury/basevirtualenv/bin/virtualenv' - env.pip = '/opt/lektury/basevirtualenv/bin/pip' - -def giewont(): - """Use giewont server""" - env.hosts = ['giewont.icm.edu.pl'] + env.hosts = ['wolnelektury.pl'] env.user = 'rczajka' env.path = '/srv/wolnelektury.pl' env.python = '/usr/bin/python'