From e577e5fec2387e387fb130619dec36134ba7df7c Mon Sep 17 00:00:00 2001 From: Joshua Santos Date: Sat, 27 Jun 2015 06:07:56 -0700 Subject: [PATCH] Symlink issues with venv If you create venv before moving the directory, you get symlinking issues --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8769185..d07a55a 100644 --- a/README.md +++ b/README.md @@ -25,15 +25,16 @@ WebVirtMgr is a libvirt-based Web interface for managing virtual machines. It ca sudo apt-get -y install git python-virtualenv python-dev libxml2-dev libvirt-dev zlib1g-dev nginx supervisor git clone https://github.com/retspen/webvirtcloud cd webvirtcloud -virtualenv venv -source venv/bin/activate -pip install -r conf/requirements.txt -python manage.py migrate sudo cp conf/supervisor/webvirtcloud.conf /etc/supervisor/conf.d sudo cp conf/nginx/webvirtcloud.conf /etc/nginx/conf.d cd .. sudo mv webvirtcloud /srv sudo chown -R www-data:www-data /srv/webvirtcloud +cd /srv/webvirtcloud +virtualenv venv +source venv/bin/activate +pip install -r conf/requirements.txt +python manage.py migrate ``` Restart services for running WebVirtCloud: