mongodb on a mac – get it running

Here’s how I did it:

I watched these 2 youtube videos:

part 1:
part 2:

I grabbed sample data to play with from here:
Crunching 30 Years of NBA Data with MongoDB Aggregation

I then used mongorestore to import the data into mongo:

Here was the exact line to bring it in:
$ mongorestore -d nba -c all_games ~/Desktop/dump/nba/games.bson

Thanks it. Ready to play with MongoDB now.

Leave a Reply

Your email address will not be published. Required fields are marked *