forked from adambair/backbone-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c537195
Showing
15 changed files
with
11,623 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.sass-cache | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#= require vendor/jquery | ||
#= require vendor/underscore | ||
#= require vendor/backbone | ||
|
Oops, something went wrong.