Como preparar o MongoDB
#Step 1
$ brew tap mongodb/brew
#Step 2 to install latest community version
$ brew install mongodb-community
Harbinger
#Step 1
$ brew tap mongodb/brew
#Step 2 to install latest community version
$ brew install mongodb-community
//Starts Mongdb server @ mongodb://127.0.0.1:27017/
brew services start [email protected]
//Stops Mongdb server @ mongodb://127.0.0.1:27017/
brew services stop [email protected]
//mongo
mongo - starts the mongo client
brew tap mongodb/brew
brew install mongodb-community
brew services start mongodb-community #try it out an enjoy.
brew tap mongodb/brew
brew install mongodb-community
# Installs Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"