Permalink
Browse files

more additions to readme

  • Loading branch information...
1 parent aee4fb9 commit 6f8c30defaf15a1ef33b894d0963f84bffb281ff @DannyDouglass DannyDouglass committed Mar 9, 2012
Showing with 6 additions and 3 deletions.
  1. +6 −3 README.md
View
9 README.md
@@ -7,12 +7,15 @@ You will need to setup MongoDB on your computer before running this exmample. I
To create the database and dummy records, type the following commands AFTER you have you mongoDB server running (see quickstart):
1. mongo
-2. use database innovation-day-nodejs
+2. Use database innovation-day-nodejs
3. Bootstrap with the following messages:
+ <code>
db.message.save( { title: "Bob's Important Message", body: "You need to check out http://espn.com STAT!", sender: "bob@bob.com", recipient: "tom@tom.com", senttimestamp: "2012-03-01T14:54:02.069Z" })
db.message.save( { title: "Cam's Important Message", body: "You need to check out http://google.com STAT!", sender: "cam@cam.com", recipient: "al@al.com", senttimestamp: "2012-03-02T14:54:02.069Z"})
db.message.save( { title: "Tim's Important Message", body: "You need to check out http://cnn.com STAT!", sender: "tim@tim.com", recipient: "jim@jim.com", senttimestamp: "2012-03-03T14:54:02.069Z" })
db.message.save( { title: "Pop's Important Message", body: "You need to check out http://espn.com STAT!", sender: "pop@pop.com", recipient: "larry@larry.com", senttimestamp: "2012-03-04T14:54:02.069Z" })
-
-4. Done!
+ </code>
+
+4. Make sure all 4 records are there by running a <code>db.message.find()</code>
+5. Done!

0 comments on commit 6f8c30d

Please sign in to comment.