1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

Moved all to virtualenv

This commit is contained in:
Retspen 2015-06-16 08:49:30 +03:00
parent 5714f0945a
commit 13e5d70ff3
6 changed files with 18 additions and 11 deletions

View file

@ -22,16 +22,18 @@ WebVirtMgr is a libvirt-based Web interface for managing virtual machines. It ca
### Install WebVirtCloud panel
```bash
sudo apt-get -y install git python-pip python-dev python-libvirt python-libxml2 nginx supervisor
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
sudo pip install -r conf/requirements.txt
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 /var/www/
sudo chown -R www-data:www-data /var/www/webvirtcloud
sudo mv webvirtcloud /srv
sudo chown -R www-data:www-data /srv/webvirtcloud
```
Restart services for running WebVirtCloud: