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

24 lines (18 sloc) 0.628 kb
require ::File.expand_path('../config/environment', __FILE__)
require 'rack'
require 'rack/cache'
require 'redis-rack-cache'
require 'rack/session/redis'
use Rack::Session::Redis
# use Rack::Cache,
# :verbose => true,
# :metastore => 'redis://localhost:6379/0/metastore',
# :entitystore => 'redis://localhost:6379/0/entitystore'
require 'resque/server'
Resque::Server.use Rack::Auth::Basic do |username, password|
username == Configuration.resque.http_username &&
password == Configuration.resque.http_password
end
run Rack::URLMap.new \
"/" => Gistflow::Application,
"/resque" => Resque::Server.new
Jump to Line
Something went wrong with that request. Please try again.