Skip to content


Subversion checkout URL

You can clone with
Download ZIP
a starting point for js apps
JavaScript Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Gemfile added gem file, moved routes out of and into app.rb
Gemfile.lock added gem file, moved routes out of and into app.rb
README.mdown first commit


What is this?

This is a base/starting point for a simple web app. Includes jQuery 1.5, Underscore 1.1.4, and plugins.js from HTML5 Boilerplate. It also uses the stylesheet from HTML5 Boilerplate as a base. As well as setting up some default directories.

The "Installation" below is only necessary if you want the convenience of using a stand-alone web server for this app (thin), using passenger, or using the server as a proxy for cross-site json requests.


Dependencies: Ruby, RubyGems, Sinatra, Thin

On OSX, both Ruby and RubyGems should be installed by default.

To install Sinatra and Thin:

$ sudo gem install sinatra
$ sudo gem install thin

To start the app locally (from this directory):

$ thin start

The app should be running on localhost, port 3000. Now just point your browser to http://localhost:3000/

If you're on OSX and you'd prefer to use Passenger:

I recommend PassengerPane, follow the directions there to get all set-up.

Something went wrong with that request. Please try again.