Browse files

Update the README with notes on installing Sinatra.

  • Loading branch information...
nelstrom committed Feb 27, 2011
1 parent 366cc66 commit 2858d12a77b700a4776076c094c9c3ef5d820610
Showing with 16 additions and 0 deletions.
  1. +16 −0
@@ -2,6 +2,21 @@ A demonstration of how the Nested List View in Sencha Touch.
Also, see the [Sencha Touch Nested List example][eg].
+## Getting the sinatra app running ##
+This example uses [Sinatra][] to run a simple backend that serves json responses. To run it on your system, you will need to have Sinatra and postresql installed.
+### Installing Sinatra (and all dependencies) ###
+Sinatra is a very simple web application framework written in ruby. If you have rubygems installed, then you can set up your environment simply by running the following from the root directory for this project:
+ gem install bundler
+ bundle install
+This installs all of the dependencies required to make this Sinatra app run.
+### Create the database ###
Create the Postgres database:
createdb music_catalogue
@@ -20,3 +35,4 @@ TODO:
* update the text in the 'Back' button to show parent title (not 'Groceries')

0 comments on commit 2858d12

Please sign in to comment.