stoptime/config.ru

9 lines
283 B
Ruby

#!/usr/bin/env rackup
require "./stoptime"
StopTime::Models::Base.establish_connection( :adapter => 'sqlite3',
:database => 'db/stoptime.db',
:timeout => 10000 )
StopTime.create
run StopTime