mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-25 07:35:22 +00:00
Cleaned some places
This commit is contained in:
parent
eda0a390fa
commit
868dda5494
7 changed files with 10 additions and 13 deletions
|
@ -2,7 +2,7 @@ language: python
|
||||||
python:
|
python:
|
||||||
- "2.7"
|
- "2.7"
|
||||||
env:
|
env:
|
||||||
- DJANGO=1.7.7
|
- DJANGO=1.8
|
||||||
install:
|
install:
|
||||||
- pip install -r dev/requirements.txt --use-mirrors
|
- pip install -r dev/requirements.txt --use-mirrors
|
||||||
script:
|
script:
|
||||||
|
|
2
Vagrantfile
vendored
2
Vagrantfile
vendored
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
Vagrant.configure(2) do |config|
|
Vagrant.configure(2) do |config|
|
||||||
config.vm.box = "chef/ubuntu-14.04"
|
config.vm.box = "chef/ubuntu-14.04"
|
||||||
config.vm.hostname = "webvirtmgr"
|
config.vm.hostname = "webvirtcloud"
|
||||||
config.vm.network "private_network", ip: "192.168.33.10"
|
config.vm.network "private_network", ip: "192.168.33.10"
|
||||||
config.vm.provision "shell", inline: <<-SHELL
|
config.vm.provision "shell", inline: <<-SHELL
|
||||||
sudo sh /vagrant/dev/libvirt-bootstrap.sh
|
sudo sh /vagrant/dev/libvirt-bootstrap.sh
|
||||||
|
|
|
@ -1,17 +1,15 @@
|
||||||
[program:webvirtcloud]
|
[program:webvirtcloud]
|
||||||
command=/usr/bin/python /var/www/webvirtcloud/manage.py run_gunicorn -c /var/www/webvirtcloud/conf/gunicorn.conf.py
|
command=/usr/local/bin/gunicorn webvirtcloud.wsgi:application -c /var/www/webvirtcloud/gunicorn.conf.py
|
||||||
directory=/var/www/webvirtcloud
|
directory=/var/www/webvirtcloud
|
||||||
|
user=www-data
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
stdout_logfile=/var/log/supervisor/webvirtcloud.log
|
|
||||||
redirect_stderr=true
|
redirect_stderr=true
|
||||||
user=www-data
|
|
||||||
|
|
||||||
[program:consoled]
|
[program:novncd]
|
||||||
command=/usr/bin/python /var/www/webvirtcloud/console/consoled
|
command=/usr/bin/python /var/www/webvirtcloud/console/novncd
|
||||||
directory=/var/www/webvirtcloud
|
directory=/var/www/webvirtcloud
|
||||||
|
user=www-data
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
stdout_logfile=/var/log/supervisor/consoled.log
|
redirect_stderr=true
|
||||||
redirect_stderr=true
|
|
||||||
user=www-data
|
|
|
@ -1,5 +1,4 @@
|
||||||
Django==1.8
|
-r ../requirements.txt
|
||||||
websockify==0.6.0
|
|
||||||
pep8==1.6.2
|
pep8==1.6.2
|
||||||
pyflakes==0.8.1
|
pyflakes==0.8.1
|
||||||
pylint==1.4.3
|
pylint==1.4.3
|
|
@ -1,3 +1,3 @@
|
||||||
Django==1.8
|
Django==1.8
|
||||||
websockify==0.6.0
|
websockify==0.6.0
|
||||||
gunicorn==19.3.0
|
gunicorn==19.3.0
|
Loading…
Reference in a new issue