how to open mongo shell on mac code example
Example: how to start mongodb in mac
command to activate mongodb through a terminal
mongod --dbpath /usr/local/var/mongodb --logpath /usr/local/var/log/mongodb/mongo.log --fork
command to activate mongodb through a terminal
mongod --dbpath /usr/local/var/mongodb --logpath /usr/local/var/log/mongodb/mongo.log --fork