mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-26 16:15:25 +00:00
Merge pull request #27 from NerdsvilleCEO/patch-2
Symlink issues with venv
This commit is contained in:
commit
defbf5a5ce
1 changed files with 5 additions and 4 deletions
|
@ -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
|
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
|
git clone https://github.com/retspen/webvirtcloud
|
||||||
cd 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/supervisor/webvirtcloud.conf /etc/supervisor/conf.d
|
||||||
sudo cp conf/nginx/webvirtcloud.conf /etc/nginx/conf.d
|
sudo cp conf/nginx/webvirtcloud.conf /etc/nginx/conf.d
|
||||||
cd ..
|
cd ..
|
||||||
sudo mv webvirtcloud /srv
|
sudo mv webvirtcloud /srv
|
||||||
sudo chown -R www-data:www-data /srv/webvirtcloud
|
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:
|
Restart services for running WebVirtCloud:
|
||||||
|
|
Loading…
Reference in a new issue