Difference between revisions of "WebFund 2015W: Tutorial 6"

From Soma-notes
Jump to navigation Jump to search
Line 2: Line 2:


In this tutorial you'll be learning about and extending [http://homeostasis.scs.carleton.ca/~soma/webfund-2015w/code/persistent-notes.zip persistent-notes].  This application is [http://homeostasis.scs.carleton.ca/~soma/webfund-2015w/code/notes-demo.zip notes-demo] from [[WebFund 2015W: Tutorial 4|Tutorial 4]] modified to work with MongoDB.  The application expects there to be a MongoDB instance running on localhost with notes in the same format as that used by the code in [[WebFund 2015W: Assignment 5|Assignment 5]] and [[WebFund 2015W: Tutorial 5|Tutorial 5]].
In this tutorial you'll be learning about and extending [http://homeostasis.scs.carleton.ca/~soma/webfund-2015w/code/persistent-notes.zip persistent-notes].  This application is [http://homeostasis.scs.carleton.ca/~soma/webfund-2015w/code/notes-demo.zip notes-demo] from [[WebFund 2015W: Tutorial 4|Tutorial 4]] modified to work with MongoDB.  The application expects there to be a MongoDB instance running on localhost with notes in the same format as that used by the code in [[WebFund 2015W: Assignment 5|Assignment 5]] and [[WebFund 2015W: Tutorial 5|Tutorial 5]].
==Tasks==
* What happens to persistent-notes when mongodb is not running when the app is started?  What if it is shut down while the app is running?
** You can stop and start mongodb by typing <tt>sudo service mongodb stop</tt> and <tt>sudo service mongodb start</tt>.
*
==

Revision as of 18:46, 1 March 2015

This tutorial is not yet finalized.

In this tutorial you'll be learning about and extending persistent-notes. This application is notes-demo from Tutorial 4 modified to work with MongoDB. The application expects there to be a MongoDB instance running on localhost with notes in the same format as that used by the code in Assignment 5 and Tutorial 5.

Tasks

  • What happens to persistent-notes when mongodb is not running when the app is started? What if it is shut down while the app is running?
    • You can stop and start mongodb by typing sudo service mongodb stop and sudo service mongodb start.

==