Project

que-web

0.11
Low commit activity in last 3 years
There's a lot of open issues
No release in over a year
A web interface for the que queue
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.6
~> 5.6
>= 10.0

Runtime

>= 1
 Project Readme

que-web Build Status

que-web is a web UI to the Que job queue.

Que Web

Installation

Add this line to your application's Gemfile:

gem 'que-web'

And then execute:

$ bundle

Or install it yourself as:

$ gem install que-web

Usage

With config.ru

Add in config.ru:

require "que/web"

map "/que" do
  run Que::Web
end

Rails

In config/routes.rb:

require "que/web"
mount Que::Web => "/que"

Authentication

Devise

# config/routes.rb
authenticate :user do
  mount Que::Web, at: 'que'
end

Basic HTTP auth

In config/initializers/queweb.rb:

Que::Web.use(Rack::Auth::Basic) do |user, password|
  [user, password] == [ENV["QUEWEB_USERNAME"], ENV["QUEWEB_PASSWORD"]]
end

Then add the two environment variables to your production environment.

Docker

Run:

docker run -e DATABASE_URL=postgres://username:password@hostname/db_name -p 3002:8080 joevandyk/que-web

Or use docker/Dockerfile to build your own container.