File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11* .pyc
22.vagrant
3- Vagrantfile
Original file line number Diff line number Diff line change 1+ # -*- mode: ruby -*-
2+ # vi: set ft=ruby :
3+ VAGRANTFILE_API_VERSION = "2"
4+
5+ Vagrant . configure ( VAGRANTFILE_API_VERSION ) do |config |
6+ config . vm . box = "base"
7+ config . vm . provider "virtualbox" do |v |
8+ v . customize [ "modifyvm" , :id , "--natdnshostresolver1" , "on" ]
9+ v . customize [ "modifyvm" , :id , "--natdnsproxy1" , "on" ]
10+ v . customize [ "modifyvm" , :id , "--memory" , 2048 ]
11+ end
12+ config . ssh . forward_x11 = true
13+
14+ $_apt_get = <<ENDAPT
15+ sudo apt-get update
16+ sudo apt-get install -y flex bison qtcreator qtcreator-doc cmake libicu-dev
17+ sudo apt-get install -y python-qscintilla2 libgeos-dev libgdal1-dev zip
18+ sudo apt-get install -y python-sip-dev python-qt4-dev python-qt4 uicilibris
19+ sudo apt-get install -y pyqt4-dev-tools libgsl0-dev git-core txt2tags grass-dev
20+ sudo apt-get install -y python-qwt5-qt4 libspatialindex-dev python-gdal
21+ sudo apt-get install -y libqscintilla2-dev python-psycopg2 python-sphinx
22+ ENDAPT
23+
24+ $_bash_login = <<ENDLOGIN
25+ echo -e "cd /vagrant" >> /home/vagrant/.bash_login
26+ echo -e "source ~/.bashrc" >> /home/vagrant/.bash_login
27+ ENDLOGIN
28+
29+ config . vm . provision :shell , :inline => $_apt_get
30+ config . vm . provision :shell , :inline => $_bash_login
31+
32+ end
You can’t perform that action at this time.
0 commit comments