Permalink
Browse files

Add simple Sinatra app

  • Loading branch information...
1 parent 7da8656 commit 1574edda718587c34285bb609e6dbabe087e8d59 Lewis Marshall committed Oct 15, 2012
Showing with 36 additions and 0 deletions.
  1. +3 −0 Gemfile
  2. +17 −0 Gemfile.lock
  3. +5 −0 app.rb
  4. +11 −0 views/index.erb
View
@@ -0,0 +1,3 @@
+source :rubygems
+
+gem 'sinatra'
View
@@ -0,0 +1,17 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ rack (1.4.1)
+ rack-protection (1.2.0)
+ rack
+ sinatra (1.3.3)
+ rack (~> 1.3, >= 1.3.6)
+ rack-protection (~> 1.2)
+ tilt (~> 1.3, >= 1.3.3)
+ tilt (1.3.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ sinatra
View
5 app.rb
@@ -0,0 +1,5 @@
+require 'sinatra'
+
+get '/' do
+ erb :index
+end
View
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>JSON Table</title>
+ </head>
+
+ <body>
+ <h1>JSON Table</h1>
+ </body>
+</html>

0 comments on commit 1574edd

Please sign in to comment.