backbone.ws

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
gnu_linux:libvirt:webvirtcloud [2022/01/09 14:05] – created kolangnu_linux:libvirt:webvirtcloud [2023/09/08 09:01] (current) – [WebVirtCloud Installation] kolan
Line 12: Line 12:
 <code bash | WebVirtCloud Installation steps> <code bash | WebVirtCloud Installation steps>
 su wvm su wvm
 +git clone https://github.com/retspen/webvirtcloud
 virtualenv --system-site-packages ~/webvirtcloud-venv virtualenv --system-site-packages ~/webvirtcloud-venv
 source ~/webvirtcloud-venv/bin/activate source ~/webvirtcloud-venv/bin/activate
-git clone https://github.com/retspen/webvirtcloud 
 </code> </code>
  
Line 26: Line 26:
 cp webvirtcloud/settings.py.template webvirtcloud/settings.py cp webvirtcloud/settings.py.template webvirtcloud/settings.py
 # now put secret key to webvirtcloud/settings.py # now put secret key to webvirtcloud/settings.py
-virtualenv -p python3 webvirtmgr-venv 
-source webvirtmgr-venv/bin/activate 
 pip install -r conf/requirements.txt pip install -r conf/requirements.txt
 python3 manage.py migrate python3 manage.py migrate
Line 36: Line 34:
 ~/webvirtcloud-venv/bin/gunicorn webvirtcloud.wsgi:application -c /var/srv/wvm/webvirtcloud/gunicorn.conf.py ~/webvirtcloud-venv/bin/gunicorn webvirtcloud.wsgi:application -c /var/srv/wvm/webvirtcloud/gunicorn.conf.py
 python3 /var/srv/wvm/webvirtcloud/console/novncd python3 /var/srv/wvm/webvirtcloud/console/novncd
 +</code>
 +
 +====== WebVirtCloud Upgrade ======
 +<code bash | Upgrade WebVirtCloud>
 +virtualenv --system-site-packages ~/webvirtcloud-venv --upgrade
 +source webvirtcloud-venv/bin/activate
 +cd webvirtcloud
 +pip install -r conf/requirements.txt
 +python3 manage.py makemigrations --merge
 +python3 manage.py migrate
 </code> </code>