X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/87e084d47c335cd6f0b3e91d614999f55d148044..08ed83571f85a0941f4c3162c82606cb547d8260:/fabfile.py diff --git a/fabfile.py b/fabfile.py index e614e9ce5..bdf0fad40 100644 --- a/fabfile.py +++ b/fabfile.py @@ -1,4 +1,4 @@ -from fnpdjango.deploy import * +from fnpdeploy import * try: from fabfile_local import * except ImportError: @@ -13,6 +13,8 @@ def production(): env.hosts = ['giewont.icm.edu.pl'] env.user = 'lektury' env.app_path = '/srv/wolnelektury.pl' + env.django_root_path = 'src' + env.requirements_file = 'requirements/requirements.txt' env.services = [ Supervisord('wolnelektury'), Supervisord('wolnelektury.celery'), @@ -24,7 +26,12 @@ def beta(): env.hosts = ['giewont.icm.edu.pl'] env.user = 'lektury' env.app_path = '/srv/wolnelektury.pl/beta' - env.services = [] + env.ve = '/srv/wolnelektury.pl/ve' + env.django_root_path = 'src' + env.requirements_file = 'requirements/requirements.txt' + env.services = [ + Supervisord('beta'), + ] @task