Skip to content

Commit

Permalink
Update the README with notes on installing Sinatra.
Browse files Browse the repository at this point in the history
  • Loading branch information
nelstrom committed Feb 27, 2011
1 parent 366cc66 commit 2858d12
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Expand Up @@ -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
Expand All @@ -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/

0 comments on commit 2858d12

Please sign in to comment.