Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (15 sloc) 0.381 kB
require 'bundler/setup'
require 'rubygems'
require 'sinatra'
require 'active_record'
set :port, ENV['PORT'] || 8000
use ActiveRecord::ConnectionAdapters::ConnectionManagement
if ENV['APP_ENV'] == 'DEVELOPMENT'
set :environment, :development
enable(:run, :reload)
else
set :environment, :production
disable(:run, :reload)
end
require './app'
run Sinatra::Application
Jump to Line
Something went wrong with that request. Please try again.