diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..3ca5787 --- /dev/null +++ b/Gemfile @@ -0,0 +1,4 @@ +source :rubygems +gem 'sinatra' +gem 'thin' + diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..9a41c58 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,24 @@ +GEM + remote: http://rubygems.org/ + specs: + daemons (1.1.5) + eventmachine (0.12.10) + rack (1.4.0) + rack-protection (1.2.0) + rack + sinatra (1.3.2) + rack (~> 1.3, >= 1.3.6) + rack-protection (~> 1.2) + tilt (~> 1.3, >= 1.3.3) + thin (1.3.1) + daemons (>= 1.0.9) + eventmachine (>= 0.12.6) + rack (>= 1.0.0) + tilt (1.3.3) + +PLATFORMS + ruby + +DEPENDENCIES + sinatra + thin diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..e217a40 --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: bundle exec ruby tjh.rb -p $PORT diff --git a/tjh.rb b/tjh.rb new file mode 100644 index 0000000..8530220 --- /dev/null +++ b/tjh.rb @@ -0,0 +1,5 @@ +require "sinatra" + +get "/" do + "Hello world" +end