Skip to content

Instantly share code, notes, and snippets.

@digitalextremist
Created April 7, 2013 01:47
Show Gist options
  • Save digitalextremist/5328506 to your computer and use it in GitHub Desktop.
Save digitalextremist/5328506 to your computer and use it in GitHub Desktop.
Working version of Reel demo; using Reel::App, including Octarine.
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