Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
adambair committed Dec 21, 2011
0 parents commit c537195
Show file tree
Hide file tree
Showing 15 changed files with 11,623 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.sass-cache
.DS_Store
15 changes: 15 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
source 'http://rubygems.org'

gem 'sinatra'

gem 'haml'

gem 'sprockets'
gem 'sass', :require => 'sass'
gem 'coffee-script', :require => "coffee_script"
gem 'uglifier'
gem 'yui-compressor', :require => "yui/compressor"
gem 'therubyracer'

gem 'pry'
gem 'pry-doc'
69 changes: 69 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
GEM
remote: http://rubygems.org/
specs:
POpen4 (0.1.4)
Platform (>= 0.4.0)
open4
Platform (0.4.0)
coderay (0.9.8)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.1.3)
execjs (1.2.12)
multi_json (~> 1.0)
haml (3.1.3)
hike (1.2.1)
libv8 (3.3.10.4)
method_source (0.6.7)
ruby_parser (>= 2.3.1)
multi_json (1.0.4)
open4 (1.3.0)
pry (0.9.7.4)
coderay (~> 0.9.8)
method_source (~> 0.6.7)
ruby_parser (>= 2.3.1)
slop (~> 2.1.0)
pry-doc (0.3.0)
pry (>= 0.9.0)
yard (>= 0.6.4)
rack (1.3.5)
rack-protection (1.1.4)
rack
ruby_parser (2.3.1)
sexp_processor (~> 3.0)
sass (3.1.12)
sexp_processor (3.0.9)
sinatra (1.3.1)
rack (>= 1.3.4, ~> 1.3)
rack-protection (>= 1.1.2, ~> 1.1)
tilt (>= 1.3.3, ~> 1.3)
slop (2.1.0)
sprockets (2.1.2)
hike (~> 1.2)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
therubyracer (0.9.9)
libv8 (~> 3.3.10)
tilt (1.3.3)
uglifier (1.2.0)
execjs (>= 0.3.0)
multi_json (>= 1.0.2)
yard (0.7.4)
yui-compressor (0.9.6)
POpen4 (>= 0.1.4)

PLATFORMS
ruby

DEPENDENCIES
coffee-script
haml
pry
pry-doc
sass
sinatra
sprockets
therubyracer
uglifier
yui-compressor
11 changes: 11 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Sinatra Bootstrap

Backbone, API Stub, Sinatra, HAML, SASS, Coffeescript, jQuery, Underscore, Sprockets, Asset Packaging, Heroku, Pry

# Instructions

bundle install
rackup
http://localhost:9292
http://localhost:9292/api

10 changes: 10 additions & 0 deletions application.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module Application
class App < Sinatra::Base
set :root, File.dirname(__FILE__)
set :logging, true

get '/' do
haml :index
end
end
end
4 changes: 4 additions & 0 deletions assets/javascripts/application.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#= require vendor/jquery
#= require vendor/underscore
#= require vendor/backbone

Loading

0 comments on commit c537195

Please sign in to comment.