Skip to content

Commit 5b44b01

Browse files
authored
Simplify installation steps (#448)
1 parent f7d9d1d commit 5b44b01

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The dashboard also works across nodes. If your nodes are connected via Distribut
3434

3535
## Installation
3636

37-
To start using LiveDashboard, you will need three steps:
37+
The LiveDashboard is built on top of LiveView. Both LiveView and LiveDashboard ship by default as part of Phoenix. But if you skipped them, you can LiveDashboard in three steps:
3838

3939
1. Add the `phoenix_live_dashboard` dependency
4040
2. Configure LiveView
@@ -54,12 +54,7 @@ end
5454

5555
### 2. Configure LiveView
5656

57-
The LiveDashboard is built on top of LiveView. If LiveView is already installed in your app, feel free to skip this section.
58-
59-
If you plan to use LiveView in your application in the future, we recommend you to follow [the official installation instructions](https://hexdocs.pm/phoenix_live_view/installation.html).
60-
This guide only covers the minimum steps necessary for the LiveDashboard itself to run.
61-
62-
First, update your endpoint's configuration to include a signing salt. You can generate a signing salt by running `mix phx.gen.secret 32` (note Phoenix v1.5+ apps already have this configuration):
57+
First, update your endpoint's configuration to include a signing salt:
6358

6459
```elixir
6560
# config/config.exs

0 commit comments

Comments
 (0)