title: How to get resque-web to work on Heroku?
body: <p>On my dev machine, I am able to type <code>resque-web</code> in a console and it launches a new tab on my browser which shows the Resque interface.</p>
  
  <p>On Heroku, Cedar stack, how can I do the same thing?  i.e. I would like to see Resque's interface for my Heroku app.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>in <code>config/initializers/resque.rb</code></p>
  
  <pre><code>require 'resque'
  require 'resque/server'
  
  uri = URI.parse(APP_CONFIG['redis_to_go_url'])
  Resque.redis = Redis.new(:host =&gt; uri.host, :port =&gt; uri.port, :password =&gt; uri.password)
  
  # Load all jobs at /app/jobs
  Dir["#{Rails.root}/app/jobs/*.rb"].each { |file| require file }
  </code></pre>
  
  <p>in <code>routes.rb</code></p>
  
  <pre><code>mount Resque::Server.new, :at =&gt; '/resque'
  </code></pre>
  
  <p>Everything works. I am now able to see the Resque web interface. However, I would like to protect this from public view. Possibly with a username and password. How can this be done?</p>