Skip to content

Instantly share code, notes, and snippets.

@savelee
Last active September 13, 2015 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save savelee/545c18aaedfcb54ea7f3 to your computer and use it in GitHub Desktop.
Save savelee/545c18aaedfcb54ea7f3 to your computer and use it in GitHub Desktop.
Mongo Local - everything you need to know
//1) start the mongo server from CLI:
//It will starts the mongoserver on http://127.0.0.1:27017
sudo mongod
//2) Open a new terminal window, run mongo shell:
mongo
//3) Open a new terminal window, go to:
//(this is actually a symlink to: ~/npm/lib/node_modules/mongoexpress
cd /Applications/XAMPP/htdocs/node/mongo-express
sudo npm install
//(make sure there is a config.js file)
//4) Start mongo express:
node app
//5) Open in browser (use the basic auth)
http://localhost:8081/
http://docs.mongodb.org/manual/tutorial/query-documents/
http://www.tutorialspoint.com/mongodb/mongodb_update_document.htm
http://code.tutsplus.com/tutorials/getting-started-with-mongodb-part-1--net-22879
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment