A website template with lots of features, built with ruby on rails.

redis.rb 141B

123
  1. uri = URI.parse(ENV["REDISTOGO_URL"])
  2. REDIS = Redis.new(:host => uri.host, :port => uri.port, :password => uri.password)
  3. Resque.redis = REDIS