Skip to content

hiddentao/homebrew-mongodb

 
 

Repository files navigation

homebrew-mongodb

Simple setup scripts to get a mongodb replica set up and running on OSX for development work.

Requirements

You can install mongodb with the following command in terminal:

brew install mongodb

Files

  • homebrew.mxcl.mongodb#.plist
  • mongod#.conf

Directories Created

  • /usr/local/var/log/mongodb#/
  • /usr/local/var/mongodb#/

Note: # == 1,2,3

Usage

Run the following commands in terminal:

git clone https://github.com/Icehunter/homebrew-mongodb.git
cd homebrew-mongodb
./setup.sh

Verification

You can verify your install by opening a mongo prompt with:

mongo

It should say the following at the mongo prompt:

rs.PRIMARY>

Congratulations! You now have a working local replica set with mongodb.

About

mongdb setup scripts with a replica set

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%