Vagrant / Chef recipes to set up a new dev environment
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
cookbooks
downloads
.gitignore
.rbenv-version
.rvmrc
Gemfile
Gemfile.lock
README.md
Vagrantfile
export_cookbooks.sh

README.md

Vagrant-Setup

Vagrant is a nice way to setup your dev enviroments. For further information go to Vagrant site.

In this repo we keep our base Vagrantfile and it's respective cookboks to setup new development environments at Crowd Interactive.

Installation

  • You need VirtualBox >4.1.2 installed. Download it from Virtualbox site. Please include the Extension Pack as well.

Run

Download the cookbook with the recipes for all the servers and utilities:

curl -0 https://raw.github.com/crowdint/vagrant-setup/master/downloads/cookbooks.tar.gz | tar -xz

Install vagrant and the virtual machine:

gem install vagrant;
vagrant up;

Note that you must suspend (or halt) your vagrant before turning off your computer. Otherwise it will be aborted (like manual power off).

Another vagrant commands:

vagrant help;       # show commands help
vagrant status;     # current status
vagrant suspend;    # sleep mode
vagrant ssh;        # ssh session

This will start a new virtual machine from a ubuntu lucid 64bits system template. After that it will install all the services indicated, using chef recipes (Including postgres, mongo and redis...).

Warning

Disclaimer: This cookbooks should never be used on production environments as it's insecure on purpose.

About

CrowdInteractive