Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 3f1cea5301
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (15 sloc) 0.465 kB
project_root = File.expand_path(File.dirname(__FILE__))
ENV['RACK_ENV'] ||= 'development'
begin
require File.expand_path('../.bundle/environment', __FILE__)
rescue LoadError
require "rubygems"
require "bundler"
Bundler.setup
end
$: << 'lib'
require 'lifeline'
Bundler.require
DataMapper.setup(:default, ENV['DATABASE_URL'] || 'postgres://localhost/lifeline')
use Rack::Static, :urls => ["/css", "/img", "500.html" ], :root => "public"
run Lifeline::App
Jump to Line
Something went wrong with that request. Please try again.