Last active
September 13, 2015 14:29
-
-
Save savelee/545c18aaedfcb54ea7f3 to your computer and use it in GitHub Desktop.
Mongo Local - everything you need to know
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
//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