Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update the README with notes on installing Sinatra.

  • Loading branch information...
commit 2858d12a77b700a4776076c094c9c3ef5d820610 1 parent 366cc66
@nelstrom authored
Showing with 16 additions and 0 deletions.
  1. +16 −0 README.md
View
16 README.md
@@ -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')
[eg]: http://dev.sencha.com/deploy/touch/examples/nestedlist/
+[Sinatra]: http://www.sinatrarb.com/
Please sign in to comment.
Something went wrong with that request. Please try again.