Tag Archives: mongodb

Scripting for Mongo

Sometimes you want to automate certain tasks using scripts. MongoDB also supports this: http://docs.mongodb.org/manual/tutorial/write-scripts-for-the-mongo-shell/ Advertisements

Posted in MongoDB, shell | Tagged , , , , , | Leave a comment

Delete entire database from mongo from cmd line

To quickly delete / remove a entire database from mongo you can use the command line interface: volker@Volkers-MacBook-Pro ~> mongo 127.0.0.1 # connect to default port MongoDB shell version: 2.4.9 connecting to: 127.0.0.1/test > show dbs AWESOME_DB 0.203125GB local 0.078125GB … Continue reading

Posted in MongoDB, OS X | Tagged , , , , , | Leave a comment

Using Homebrew to install software with OS X

Homebrew is an easy to use tool for installing software to OS X. It’s a bit like debians apt but relies on git and ruby. I use it to install application servers like wildfly, databases or tools like maven. ruby … Continue reading

Posted in Apple, Java, OS X, shell | Tagged , , , , , | 3 Comments