- Ruby - http://www.ruby-lang.org/en/
- SQLite3 - http://sqlite.org/
I've setup a little Sinatra server to handle the backend for the demo. This interfaces with a SQLite DB for persistence. There is a Bundler Gemfile present to install dependencies for you. So let's install Bundler and our dependencies:
$ gem install bundler
$ bundle install
Optional - I like to use Thin as my dev server, but you don't have to, Sinatra will use WebBrick by default. If you want to use Thin then just $ gem install thin
.
The DB is part of the Repo, so if you have SQLite3 installed you can just go. There is a little Ruby script called prepdb.rb
that will reload the DB to its default state whenever you want (say, after you've deleted a bunch of photos or something.) So you could run that now with $ ruby prepdb.rb
just to make sure everything is working.
$ ruby server.rb
And then point your browser to http://127.0.0.1:4567
✊ BOOM! ✊
Point your browser to http://127.0.0.1:4567/slides
Or you can view them on Heroku - http://arcane-refuge-8744.herokuapp.com/slides
I needed to demo basic Backbone.js features for my co-workers at http://arc90.com: http://darrenknewton.com/2012/06/24/backbonejs-and-you/
This project was originally made using images from Instagram (via the Statigram API). Afterwards I quit Instagram over their changes in licensing after the Facebook acquisition. The photos now in use are very low resolution Flickr images.