X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/95045552540ca917d273954ebfa20b47a306bb93..9c5d9a4e77a10b4e60d89d3890e49002bd7f3993:/fabfile.py diff --git a/fabfile.py b/fabfile.py index 13051778d..1995fd3cb 100644 --- a/fabfile.py +++ b/fabfile.py @@ -21,7 +21,7 @@ def staging(): env.python = '/usr/bin/python' env.virtualenv = '/usr/bin/virtualenv' env.pip = '/usr/bin/pip' - + def production(): """Use production server""" env.hosts = ['wolnelektury.pl:22123'] @@ -54,8 +54,8 @@ def setup(): def deploy(): """ - Deploy the latest version of the site to the servers, - install any required third party modules, + Deploy the latest version of the site to the servers, + install any required third party modules, install the virtual host and then restart the webserver """ require('hosts', 'path', provided_by=[staging, production])