Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (11 sloc) 0.365 kb
require 'bundler/setup'
require 'oldskool'
set :run, false
config = YAML.load_file(File.expand_path("../config/oldskool.yaml", __FILE__))
# Basic HTTP Auth
if config[:username] && config[:password]
use Rack::Auth::Basic do |username, password|
username == config[:username] && password == config[:password]
end
end
run Oldskool::SinatraApp.new(config)
Jump to Line
Something went wrong with that request. Please try again.