Skip to content

Commit

Permalink
initial
Browse files Browse the repository at this point in the history
  • Loading branch information
kei-s committed Aug 9, 2011
0 parents commit 2a33caa
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source 'http://rubygems.org'

gem 'sinatra'
gem 'github-markup'
16 changes: 16 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
GEM
remote: http://rubygems.org/
specs:
github-markup (0.5.3)
rack (1.3.2)
sinatra (1.2.6)
rack (~> 1.1)
tilt (>= 1.2.2, < 2.0)
tilt (1.3.2)

PLATFORMS
ruby

DEPENDENCIES
github-markup
sinatra
7 changes: 7 additions & 0 deletions app.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
require 'sinatra/base'

class Preview < Sinatra::Base
get '/' do
'hi'
end
end
3 changes: 3 additions & 0 deletions config.ru
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dir = File.expand_path(File.dirname(__FILE__))
require dir+'/app'
run Preview

0 comments on commit 2a33caa

Please sign in to comment.