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

@ -5,7 +5,7 @@ server {
#access_log /var/log/nginx/webvirtcloud-access_log;
location /static/ {
root /var/www/webvirtcloud;
root /srv/webvirtcloud;
expires max;
}

View file

@ -1,3 +1,5 @@
Django==1.8.2
websockify==0.6.0
gunicorn==19.3.0
libvirt-python==1.2.16
https://github.com/retspen/retspen.github.io/raw/master/libxml2-python-2.9.1.tar.gz

View file

@ -1,14 +1,14 @@
[program:webvirtcloud]
command=/usr/local/bin/gunicorn webvirtcloud.wsgi:application -c /var/www/webvirtcloud/gunicorn.conf.py
directory=/var/www/webvirtcloud
command=/srv/webvirtcloud/venv/bin/gunicorn webvirtcloud.wsgi:application -c /srv/webvirtcloud/gunicorn.conf.py
directory=/srv/webvirtcloud
user=www-data
autostart=true
autorestart=true
redirect_stderr=true
[program:novncd]
command=/usr/bin/python /var/www/webvirtcloud/console/novncd
directory=/var/www/webvirtcloud
command=/srv/webvirtcloud/venv/bin/python /srv/webvirtcloud/console/novncd
directory=/srv/webvirtcloud
user=www-data
autostart=true
autorestart=true