An open API service indexing awesome lists of open source software.

https://github.com/dvberkel/vagrant-experiment

A project to familiarize oneself with vagrant
https://github.com/dvberkel/vagrant-experiment

Last synced: 2 months ago
JSON representation

A project to familiarize oneself with vagrant

Awesome Lists containing this project

README

        

Vagrant Experiment
==================

This projects aim is to get familiar with
[Vagrant](http://vagrantup.com/ "Homepage for Vagrant").
Vagrant is described on its website as:

*Vagrant is a tool for building and distributing virtualized development environments.*

Environment
-----------

The prerequisites for this project are listed below. The are the same as per the
[walkthrough](http://vagrantup.com/docs/getting-started/index.html "Walkthrough on vagrant homepage").

* [VirtualBox](https://www.virtualbox.org/ "Homepage of VirtualBox") installed.
* [Ruby](http://www.ruby-lang.org/en/ "Homepage of Ruby") and [Rubygems](http://rubygems.org/ "Homepage for RubyGems.") installed.
* Vagrant installed

In addition to this is is advisable to use Ruby Version Manager
([rvm](http://beginrescueend.com/ "Homepage for Ruby Version Manager")). rvm allows you to transparantly
change ruby versions and gems between projects.

I personally set my environment up in the following manner.

> rvm install 1.9.2
> rvm use 1.9.2
> rvm gemset create vagrant

Everytime I work on this project I execute the command below.

> rvm use 1.9.2@vagrant

Setup
-----

To use this virtual box issue the following commands.

> vagrant box add lucid32 http://files.vagrantup.com/lucid32.box

This will download a *base image* as described in the
[walkthrough](http://vagrantup.com/docs/getting-started/boxes.html "Vagrant Walkthrough at Boxes").

> vagrant up

This should provision a working virtual machine as specified in the Vagrantfile.