Skip to content

Latest commit

 

History

History
68 lines (41 loc) · 1.92 KB

README.md

File metadata and controls

68 lines (41 loc) · 1.92 KB

DJ Mon Build Status

A Rails engine based frontend for Delayed Job. It also has an iPhone app.

Demo

Installation

Add this line to your application's Gemfile:

gem 'dj_mon'

And then execute:

$ bundle

Or install it yourself as:

$ gem install dj_mon

Note

Supports activerecord and mongoid.

Usage

If you are using Rails =< 3.1, or if config.assets.initialize_on_precompile is set to false, then add this to config/environments/production.rb.

config.assets.precompile += %w( dj_mon.js dj_mon.css)

Mount it in routes.rb

mount DjMon::Engine => 'dj_mon'

This uses http basic auth for authentication. Set the credentials in an initializer - config/initializers/dj_mon.rb

YourApp::Application.config.dj_mon.username = "dj_mon"
YourApp::Application.config.dj_mon.password = "password"

If the credentials are not set, then the username and password are assumed to be the above mentioned.

Now visit http://localhost:3000/dj_mon and profit!

iPhone App

Contributing

Things to do

  • Mostly in the iPhone app. Mentioned in the README.

Running the test suite

To run the test suite, execute the following commands from the project root:

gem install bundler
bundle install
rake test:prepare
rake

Screenshot