A Vagrant box with a running MongoDB server. The resulting Vagrant VM is provisioned with MongoDB using Chef Solo.
- Working git installed
- Vagrant 1.5.4 or later installed
- VirtualBox 4.3.12 or later installed
-
Execute the following in the terminal where you want to have the Vagrant Folder created.
git clone --recursive https://github.com/owaism/vagrant-mongodb.git mongodb cd mongobdb vagrant up
Wait up for the VM to initialize and startup.
-
MongoDB server is up and running. It is connected to port 27018 on your local machine. To connect to MongoDB use the following from the host machine (mongo should be installed on the host machine):
mongo --port 27018
Else to access from the guest machine do the following
vagrant ssh mongo