-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
Vagrantfile
32 lines (30 loc) · 1.12 KB
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "private_network", type: "dhcp"
config.vm.provision "shell", inline: <<-SHELL
apt-get -y update
echo "[DroneKit]: Installing build essentials"
apt-get -y install build-essential
echo "[DroneKit]: Installing Python Devel"
apt-get -y install python-dev
echo "[DroneKit]: Installing pip ..."
apt-get -y install python-pip
easy_install -U pip
echo "[DroneKit]: Installing python-cherrypy3 ..."
apt-get -y install python-cherrypy3
echo "[DroneKit]: Installing python-matplotlib ..."
apt-get -y install python-matplotlib
echo "[DroneKit]: Installing python-gps ..."
apt-get -y install python-gps
echo "[DroneKit]: Installing Sphinx ... "
pip install sphinx
cd /vagrant
echo "[DroneKit]: Installing DroneKit-Python requirements.txt ... "
pip install -r requirements.txt
echo "[DroneKit]: Building docs "
cd docs/
make html
SHELL
end