RogerUI

This library provides an UI dashboard for Roger, a job processing library based on message broadcasting RabbitMQ

RogerUI allow you to see nodes, partitions and queues with various details levels.

Screenshots

Features

Software Requirements

You will need the following to compile and run the application:

Installing RogerUI (User mode)

Installing RogerUI

Once you have installed and configured RabbitMQ and Roger

Add Roger UI dep in your /mix.exs:

defp deps do
{:roger_ui, "~> 0.1"}
end

Inside the project folder run mix deps.get, and then run mix compile

Configuring with Phoenix to run like Plug

On your application when Roger’s instance its configured:

  pipeline :roger do
    plug :accepts, ["html"]
    plug :put_secure_browser_headers
    plug RogerUI.Web.RouterPlug, namespace: "roger"
  end

  scope "/roger", RogerUI.Web.RouterPlug do
    pipe_through :roger
    forward "/", Router, namespace: "roger"
  end

You can change the namespace and scope to wathever works for you, then you can start Phoenix server and navigate to roger namespace like: http://localhost/roger

Installing RogerUI (Developer mode)

Installing RogerUI

Once you have installed and configured RabbitMQ, Node.js & npm and Roger, in your develop enviroment

Open command line and go to /priv/vue folder:

Configuring RogerUI

On your application where Roger’s instance its configured:

module.exports = '"http://your-address:your-port"'

IMPORTANT: the address must be enclosed inside double quote AND single quote

Inside roger_ui/priv/vue folder run:

Running RogerUI

Inside your phoenix application you must run:

to get the application up, remember match server name according /config/config.exs file before described.

License

Copyright © 2018 Betty Blocks