Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

binvinny/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

Contributors

Languages

  • Shell 100.0%

AltStyle によって変換されたページ (->オリジナル) /