A Vagrant box for running the lastest release of MongoDB from official repository that includes sample data to work with.
This is forked from https://github.com/bobthecow/vagrant-mongobox.
-
Install VirtualBox 4.0.
-
Do this. In a terminal:
gem install vagrant git clone --recursive https://github.com/leio10/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 17017
-
Start to generate data! Or make use of a very nice database (called fwd) generated with the Forward project.