From 30e2a66be7b7127082597d43ac6a57ac4ef05083 Mon Sep 17 00:00:00 2001 From: catborise Date: Wed, 18 Jul 2018 11:22:23 +0300 Subject: [PATCH] Correction of requirements and add guestfs req. Minor cosmetic change instances --- README.md | 7 +++++-- instances/templates/instances.html | 5 +---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ae44568..270d5f4 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ print(''.join([random.SystemRandom().choice(haystack) for _ in range(50)])) ### Install WebVirtCloud panel (Ubuntu) ```bash -sudo apt-get -y install git python-virtualenv python-dev python-lxml libvirt-dev zlib1g-dev nginx supervisor libsasl2-modules gcc pkg-config +sudo apt-get -y install git python-virtualenv python-dev python-lxml libvirt-dev zlib1g-dev nginx supervisor libsasl2-modules gcc pkg-config python-guestfs git clone https://github.com/retspen/webvirtcloud cd webvirtcloud cp webvirtcloud/settings.py.template webvirtcloud/settings.py @@ -67,7 +67,7 @@ wget -O - https://clck.ru/9V9fH | sudo sh ### Install WebVirtCloud panel (CentOS) ```bash -sudo yum -y install python-virtualenv python-devel libvirt-devel glibc gcc nginx supervisor libxml2 libxml2-devel git +sudo yum -y install python-virtualenv python-devel libvirt-devel glibc gcc nginx supervisor python-lxml git python-libguestfs ``` #### Creating directories and cloning repo @@ -230,7 +230,10 @@ datasource: ### How To Update ```bash +sudo virtualenv venv +sudo source venv/bin/activate git pull +pip install -U -r requirements.txt python manage.py migrate sudo service supervisor restart ``` diff --git a/instances/templates/instances.html b/instances/templates/instances.html index bf69a74..aa70d35 100644 --- a/instances/templates/instances.html +++ b/instances/templates/instances.html @@ -44,7 +44,7 @@ User Status VCPU - Memory
({% trans "MB" %}) + Memory Actions & Mem Usage @@ -65,10 +65,7 @@ {{ host.3 }} {{ host.4|filesizeformat }} -
{{ host.5 }}%
- -