Commit b092fd85 authored by Brandon Fairchild's avatar Brandon Fairchild

Add initial files and web directory for Ruby/Sinatra web application

parent 5af0a79c
require 'debci/web'
run Debci::Web
require 'sinatra'
module Debci
class Web < Sinatra::Base
set :views, root + "/web/views"
get '/' do
erb :index
end
end
end
<!DOCTYPE html>
<html>
<head>
<title>Debian Continuous Integration</title>
</head>
<body>
<%= yield %>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment