X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e04a3d9448c218e380a0c281f2e6330df3166ead..973a567e29e69813586ccab9790918421d1a28b2:/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])