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

19 lines (14 sloc) 0.411 kb
#!/usr/bin/env ruby
require 'rubygems'
require 'json'
require 'sinatra/base'
require 'lib/green'
DataMapper.setup(:default, ENV['DATABASE_URL'] || "sqlite3://#{FileUtils.pwd}/green.db")
class Green < Sinatra::Default
register Sinatra::Green::Controller
set :views, 'views'
set :public, 'public'
set :environment, :production
set :search_terms, ["stopxrl", "高鐵"]
set :items_per_page, 25
end
Jump to Line
Something went wrong with that request. Please try again.