Created
April 7, 2013 01:47
-
-
Save digitalextremist/5328506 to your computer and use it in GitHub Desktop.
Working version of Reel demo; using Reel::App, including Octarine.
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
require 'rubygems' | |
require "bundler/setup" | |
require 'reel/app' | |
class Wu | |
include Reel::App | |
get '/' do |request| | |
puts "Request came in //" | |
[200, {}, "hello world"] | |
end | |
end | |
Wu.new( '0.0.0.0', 80 ) | |
puts "Testing Octarine server, provided by Reel //" | |
sleep |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment