1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-11-01 03:54:15 +00:00

Correction of requirements

This commit is contained in:
catborise 2018-07-18 11:41:34 +03:00
parent 30e2a66be7
commit bdfdd9238f
6 changed files with 7 additions and 9 deletions

View file

@ -2,7 +2,7 @@ language: python
python: python:
- "2.7" - "2.7"
env: env:
- DJANGO=1.8 - DJANGO=1.11.14
install: install:
- pip install -r dev/requirements.txt --use-mirrors - pip install -r dev/requirements.txt --use-mirrors
script: script:

View file

@ -6,7 +6,7 @@ RUN echo 'APT::Get::Clean=always;' >> /etc/apt/apt.conf.d/99AutomaticClean
RUN apt-get update -qqy RUN apt-get update -qqy
RUN DEBIAN_FRONTEND=noninteractive apt-get -qyy install \ RUN DEBIAN_FRONTEND=noninteractive apt-get -qyy install \
-o APT::Install-Suggests=false \ -o APT::Install-Suggests=false \
git python-virtualenv python-dev libxml2-dev libvirt-dev zlib1g-dev nginx libsasl2-modules git python-virtualenv python-dev python-lxml libvirt-dev zlib1g-dev nginx libsasl2-modules
ADD . /srv/webvirtcloud ADD . /srv/webvirtcloud
RUN chown -R www-data:www-data /srv/webvirtcloud RUN chown -R www-data:www-data /srv/webvirtcloud

2
Vagrantfile vendored
View file

@ -10,7 +10,7 @@ Vagrant.configure(2) do |config|
sudo sed -i 's/auth_tcp = \"sasl\"/auth_tcp = \"none\"/g' /etc/libvirt/libvirtd.conf sudo sed -i 's/auth_tcp = \"sasl\"/auth_tcp = \"none\"/g' /etc/libvirt/libvirtd.conf
sudo service libvirt-bin restart sudo service libvirt-bin restart
sudo adduser vagrant libvirtd sudo adduser vagrant libvirtd
sudo apt-get -y install python-virtualenv python-dev libxml2-dev libvirt-dev zlib1g-dev sudo apt-get -y install python-virtualenv python-dev python-lxml libvirt-dev zlib1g-dev
virtualenv /vagrant/venv virtualenv /vagrant/venv
source /vagrant/venv/bin/activate source /vagrant/venv/bin/activate
pip install -r /vagrant/dev/requirements.txt pip install -r /vagrant/dev/requirements.txt

View file

@ -1,5 +1,4 @@
from django.conf.urls import url from django.conf.urls import url
from django.contrib import auth
from django.contrib.auth import views as auth_views from django.contrib.auth import views as auth_views
from . import views from . import views

View file

@ -1,6 +1,5 @@
Django==1.11.14 Django==1.11.14
websockify==0.8.0 websockify==0.8.0
gunicorn==19.9.0 gunicorn==19.9.0
libvirt-python==4.4.0 libvirt-python==3.1.0
libxml2-python3==2.9.5
lxml==4.2.3 lxml==4.2.3

View file

@ -1,4 +1,4 @@
-r ../conf/requirements.txt -r ../conf/requirements.txt
pep8==1.6.2 pep8==1.7.1
pyflakes==0.8.1 pyflakes==2.0.0
pylint==1.4.3 pylint==1.9.2