Que::View
Rails engine inspired by Que::Web for Que job queue. SQL queries came from Que::Web, some styling from there too. Benefits for using this one: independent from Sinatra (que-web based on Sinatra)
Installation
Add this line to your application's Gemfile:
gem 'que'
gem 'que-view'
And then execute:
$ bundle install
Configuration
You can configure username/password for production web view. Add this lines to config/initializers/que_view.rb
Que::View.configure do |config|
config.ui_username = 'username'
config.ui_password = 'password'
config.ui_secured_environments = ['production']
end
Usage
Add this line to config/routes.rb
mount Que::Web::Engine => '/que_web'
Add this line to assets/config/manifest.js
//= link que/view/application.css
TODO
- rescheduling jobs
- deleting jobs
- better styles for UI
- rendering running jobs
- tests
License
The gem is available as open source under the terms of the MIT License.