vagrant-mongobox
A simple little Vagrant box for running MongoDB
-
Install VirtualBox 4.0.
-
Do this. In a terminal:
gem install vagrant git clone --recursive https://github.com/bobthecow/vagrant-mongobox.git mongobox cd mongobox vagrant up
That last line might take a minute. Go get yourself a sandwich. I went with a lobster roll from Luke’s.
-
Connect to your new dedicated MongoDB virtual machine on localhost port 27018:
mongo --port 27018
-
Profit!