How to run resque web interface in standalone ruby app

What is Resque?

Resque creates background jobs which stores data in Redis, placing those jobs on multiple queues, and processing them asynchornously.

What is Rackup?

Rackup is a command that comes with the rack middle and uses the settings in your and starts a server based off of those. This is usually used in production servers.

What is thin server?

Thin server is a small and fast Ruby web server.

RACKUP Web Interface

# rackup

require 'thin'
require 'resque'
require 'resque/server'
require 'resque/scheduler/server'

run \
     "/" =>

If you want to do basic authentication then use the below code,

Resque::Server.use(Rack::Auth::Basic) do |user, password|
  user = "username"
  password == "password"

run \
     "/" =>

keep Coding !!!


What do we do?

We work on website development using Ruby on Rails, NodeJS, ReactJS, AngularJS. View all the services we provide here.

Contact us See our work