X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/bf8b3154e3a3d09be0d30516bf42a4652bcdedc8..9f5432c9c13b7b44d9f28d98807ff41311c6cce8:/fabfile.py diff --git a/fabfile.py b/fabfile.py index 812d2e062..7e8934f63 100644 --- a/fabfile.py +++ b/fabfile.py @@ -24,17 +24,8 @@ 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.user = 'rczajka' + env.hosts = ['wolnelektury.pl'] + env.user = 'lektury' env.path = '/srv/wolnelektury.pl' env.python = '/usr/bin/python' env.virtualenv = '/usr/bin/virtualenv'