Giter Site home page Giter Site logo

justinbkay / exq_ui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from akira/exq_ui

0.0 1.0 0.0 2.82 MB

UI Dashboard for Exq, a job processing library for Elixir. Exq UI provides the UI dashboard to display stats on job processing.

License: Other

JavaScript 11.41% Elixir 69.98% HTML 17.91% SCSS 0.70%

exq_ui's Introduction

ExqUI

Hex.pm

ExqUI provides a UI dashboard for Exq, a job processing library compatible with Resque / Sidekiq for the Elixir language. ExqUI allow you to see various job processing stats, as well as details on failed, retried, scheduled jobs, etc.

Configuration

  1. ExqUI depends on the api server component of the exq. The user of ExqUI is expected to start the Exq with proper config. The only config required on ExqUI side is the name of the api server. It's set to Exq.Api by default.

    config :exq_ui,
      api_name: Exq.Api

    There are two typical scenarios

    If ExqUI is embedded in a worker node which runs exq jobs, then nothing special needs to be done. Exq by default starts the api server on all worker nodes.

    If ExqUI needs to be embedded in a node which is not a worker, then Exq can be started in api mode, which will only start the api gen server and will not pickup jobs for execution. This can be done by configuring the mode.

    config :exq,
      mode: :api
  2. ExqUI uses Phoenix LiveView. If you already use LiveView, skip to next step. Otherwise follow LiveView installation docs.

  3. In your phoenix router import ExqUIWeb.Router and add live_exq_ui(path)

defmodule DemoWeb.Router do
  use Phoenix.Router
  import ExqUIWeb.Router

  pipeline :browser do
    plug :fetch_session
    plug :protect_from_forgery
  end

  scope "/", DemoWeb do
    pipe_through :browser

    live_exq_ui("/exq")
  end
end

Development

mix setup # on first run
mix run dev.exs
open http://localhost:4000/exq

exq_ui's People

Contributors

akira avatar ananthakumaran avatar nickgal avatar optikfluffel avatar drteeth avatar triptec avatar thomashaddad avatar d1plo1d avatar pdilyard avatar romul avatar benjamintanweihao avatar chelsea avatar mmcc avatar disbelief avatar mosic avatar stevedomin avatar neslinesli93 avatar williamweckl avatar balexand avatar thousandsofthem avatar jockee avatar jonhkr avatar j-mcnally avatar he9lin avatar lowks avatar gutschilla avatar therealwardo avatar niels avatar seivan avatar tlesne avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.