This document discusses using Vagrant and VirtualBox to create a development environment for open source geospatial applications. It describes how to install Vagrant and VirtualBox, initialize a Vagrantfile, and clone an OSM (OpenStreetMap) development box from GitHub. The document then covers using Veewee to define and build custom virtual machine boxes, like one based on CentOS 5.7 with an OpenStreetMap stack, for use with Vagrant. It aims to provide dev/prod parity through reproducible environments.
43. bare metal
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
source ~/.bash_profile
rvm requirements
# install any needed requirements
rvm install 1.9.2
git clone https://github.com/jedi4ever/veewee
cd veewee
gem install bundler
bundle install
http://www.flickr.com/photos/virtualsugar/4471926175/ (CC 2.0)
44. bare metal
$cd project/veewee/
Using /Users/tlpinney/.rvm/gems/ruby-1.9.2-p290
'veewee' gemset created (/Users/tlpinney/.rvm/gems/
ruby-1.9.2-p290@veewee).
Using /Users/tlpinney/.rvm/gems/ruby-1.9.2-p290 with
gemset veewee
$
http://www.flickr.com/photos/virtualsugar/4471926175/ (CC 2.0)
45. bare metal
$ veewee version
Version : 0.3.0.alpha4 - use at your own risk
http://www.flickr.com/photos/virtualsugar/4471926175/ (CC 2.0)
51. $ veewee vbox define
"mycentos""CentOS-5.7-x86_64"
The basebox 'mycentos' has been
succesfully created from the
template 'CentOS-5.7-x86_64'
You can now edit the definition
files stored in definitions/
mycentos or build the box with:
veewee vbox build 'mycentos'
http://www.flickr.com/photos/virtualsugar/4471926175/ (CC 2.0)