This repository has been archived on 2020-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
anne-survey/config.ru

13 lines
324 B
Plaintext
Raw Permalink Normal View History

#!/usr/bin/env rackup1.8
$LOAD_PATH.unshift "/home/paul/Projects/anne-survey/lib"
require "anne-survey"
Anne::Models::Base.establish_connection( :adapter => 'sqlite3',
:database => 'db/survey.db',
:timeout => 10000 )
Anne.create
run Anne