Last active
August 29, 2015 14:02
-
-
Save hamecoded/e9155ebbd694f398879e to your computer and use it in GitHub Desktop.
mongodb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## PART 1: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-os-x/ | |
# install | |
brew install mongodb | |
#create path | |
mkdir -p /data/db | |
#launch mongodb | |
mongod | |
## PART 2: http://docs.mongodb.org/manual/tutorial/getting-started/ | |
#launch | |
mongo | |
db | |
show dbs | |
use somedbname |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment