Skip to content

seekingalpha/taskinator_ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TaskinatorUi

Web interface for taskinator gem. It also allows to see the workflows and enqueue a workflow from a specific place.

Installation

Add this line to your application's Gemfile:

gem "taskinator_ui"

And then execute:

$ bundle

Or install it yourself as:

$ gem install taskinator_ui

Then add this line into config/routes.rb

mount TaskinatorUi::Engine, at: '/taskinator'

Run rails server and navigate to http://localhost:3000/taskinator/

HTTP Basic Auth

To add basic auth add the line into initializer:

# config/initializers/taskinator.rb

TaskinatorUi.http_basic_auth = ->(user, password) { user == 'username' && password == 'password' }

You can use your database if needed:

TaskinatorUi.http_basic_auth = ->(email, password) { User.admin.find_by(email: email)&.authenticate(password) }

Known issues

If you use Rails in API only mode it can happen that you have Rack::MethodOverride middleware disabled. This middleware needed to route HTML form requests. To fix the problem add this line into config/application.rb

config.middleware.use Rack::MethodOverride

License

The gem is available as open source under the terms of the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published