diff --git a/app/deploy/zuykov.py b/app/deploy/zuykov.py index e537dbf..d54aa08 100644 --- a/app/deploy/zuykov.py +++ b/app/deploy/zuykov.py @@ -72,7 +72,12 @@ class ZuykovWebSystem(Node): def static(self): self.Application.run_management_command('collectstatic --noinput') - + + def frontend_update(self): + self.Application.update() + self.Application.run_management_command('collectstatic --noinput') + self.Application.restart() + def deploy(self): self.Application.update() diff --git a/requirements.txt b/requirements.txt index 1dab66b..5d00df2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -39,4 +39,4 @@ pyuca https://github.com/aldryn/aldryn-segmentation/archive/master.zip https://github.com/aldryn/aldryn-country-segment/archive/master.zip django-easy-select2 -geoip \ No newline at end of file +geoip #http://xazrad.blogspot.ru/2014/12/django-geoip-ubuntu-mac-os-x.html \ No newline at end of file diff --git a/zsite/templates/base.html b/zsite/templates/base.html index 2cee54d..6e69b51 100644 --- a/zsite/templates/base.html +++ b/zsite/templates/base.html @@ -31,6 +31,8 @@