summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorbrandon flowers <brandonflowers@gmail.com>2013-05-04 15:09:26 -0400
committerbrandon flowers <brandonflowers@gmail.com>2013-05-04 15:09:26 -0400
commit3665deb4f2ae988ea3fc9fd81fa01d00cae95d09 (patch)
tree158a0644cbdaf7734329f62384d4a51dea01afa5 /examples
parentc749f03da2cff1d9a2522560f43b97ba4f126b4b (diff)
downloadbackbonetutorials-3665deb4f2ae988ea3fc9fd81fa01d00cae95d09.zip
backbonetutorials-3665deb4f2ae988ea3fc9fd81fa01d00cae95d09.tar.gz
backbonetutorials-3665deb4f2ae988ea3fc9fd81fa01d00cae95d09.tar.bz2
small fix to readme to move instructions over terminal lines
Diffstat (limited to 'examples')
-rw-r--r--examples/nodejs-mongodb-mongoose-restify/README.md14
1 files changed, 11 insertions, 3 deletions
diff --git a/examples/nodejs-mongodb-mongoose-restify/README.md b/examples/nodejs-mongodb-mongoose-restify/README.md
index 2f19602..16f74cc 100644
--- a/examples/nodejs-mongodb-mongoose-restify/README.md
+++ b/examples/nodejs-mongodb-mongoose-restify/README.md
@@ -20,10 +20,14 @@ $ yeoman server
By default, yeoman looks at the "app" directory. If you update to Yeoman 1.0, you are able to configure this path in the grunt.js file and configure it to look any folder like "public" but at the time of writing this demo, I'm using Yeoman 0.9.6 so will keep the "app" directory.
-It automatically launches a browser window to:
+Yeoman automatically launches a browser window to:
http://localhost:3501/
+You can also see this same view by visiting the redundant http server:
+
+http://localhost:8080/
+
If you'd like to see the raw messages as a json dump, you can point your browser to:
http://localhost:8888/messages
@@ -45,13 +49,17 @@ $ mongo
In the mongo shell, I've created a database called "nationalpark"
-> use nationalpark <-- will automatically create and use this new database
+> use nationalpark
+
+This will automatically create and use this new database called nationalpark
then, I've added a collection called "messages" and inserted a message
var message = { message: "onward, upward", hiker: "rosella"};
-> db.messages.insert(message); <--- once you use nationalpark, db becomes the link to it
+> db.messages.insert(message);
+
+Once you use nationalpark, db becomes the link to it
Just to prove you've added a message, you can display all the messages