Tuesday, February 26, 2013

Try Mongo-Hacker - a colorful and pretty mongo console

just a tiny mongorc.js -

For mongodb 2.0.x users remove or comment "setVerboseShell(true);" on line 34

clone mongo_hacker to your home dir
cd ~
mkdir .mongo
cd .mongo
git clone https://github.com/TylerBrock/mongo-hacker.git
cd mongo-hacker
#backup old mongorc 
cp ~/.mongorc.js ~.mongorc.js.backup 
#link new one 
ln -sf ~/.mongo/mongo-hacker/mongo_hacker.js ~/.mongorc.js 


1 comment:

Unknown said...

Renklendirme bayağı iyi oldu benim açımdan :)