lamina_dashboard/README.md

38 lines
1.2 KiB
Markdown
Raw Normal View History

2021-09-28 14:50:12 +13:00
# Lamina.Dashboard
`Lamina.Dashboard` is a tool to visualise the current runtime configuration of
the system.
It works as an additional page for [Phoenix LiveDashboard](https://hex.pm/packages/phoenix_live_dashboard).
2021-09-28 14:50:12 +13:00
## Installation
`Lamina.Dashboard` is [available in Hex](https://hex.pm/packages/lamina_dashboard),
the package can be installed by adding `lamina_dashboard` to your list of
dependencies in `mix.exs`:
2021-09-28 14:50:12 +13:00
```elixir
def deps do
[
2021-09-30 14:15:13 +13:00
{:lamina_dashboard, "~> 0.2.3"}
2021-09-28 14:50:12 +13:00
]
end
```
Documentation for the latest release can be found on [HexDocs](https://hexdocs.pm/lamina) and for the `main` branch [here](https://jimsy.gitlab.io/lamina_dashboard/api-reference.html).
## Integration with LiveDashboard
You can add this page to your Phoenix LiveDashboard by adding it as a page in the `live_dashboard` macro in your router file:
```elixir
live_dashboard "/dashboard",
additional_pages: [lamina: Lamina.Dashboard]
```
Once configured, you will be able to access `Lamina.Dashboard` at `/dashboard/lamina`.
## Distribution
2021-09-28 14:50:12 +13:00
You can use `Lamina.Dashboard` to view the configuration on remote nodes by simply adding the `lamina_dashboard` package as a dependency of your remote nodes.