Skip to content

A simple Phoenix Live Dashboard for Oban jobs.

License

Notifications You must be signed in to change notification settings

evilmarty/oban_live_dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oban Live Dashboard

CI Hex Version Hex Docs Apache 2.0

A simple Phoenix Live Dashboard for Oban jobs.

Installation

Follow these steps to get going.

1. Add the oban_live_dashboard dependency

If available in Hex, the package can be installed by adding oban_live_dashboard to your list of dependencies in mix.exs:

def deps do
  [
    {:oban_live_dashboard, "~> 0.1.0"}
  ]
end

2. Update LiveView router

Next you'll need to update the live_dashboard configuration in your router.

# lib/my_app_web/router.ex
live_dashboard "/dashboard",
  additional_pages: [
    oban: Oban.LiveDashboard
  ]

Then restart the server and access /dashboard/oban.