Skip to content

Commit

Permalink
adjust table layout
Browse files Browse the repository at this point in the history
The wide command reference caused the whole table around the `<details>`
to have a scroll bar, which was confusing.
  • Loading branch information
scottlamb committed Dec 5, 2023
1 parent c5f5bd3 commit c674b68
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions guide/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,21 @@ services:
Command reference:
| | Moonfire directly installed on the host | Moonfire with docker compose |
|-------------------------------|--------------------------------------------------------|------------------------------|
| Initialize the database | `sudo -u moonfire-nvr moonfire-nvr init` | `sudo docker compose run --rm moonfire-nvr init` |
| Run interactive configuration | `sudo -u moonfire-nvr moonfire-nvr config 2>debug-log` | `sudo docker compose run --rm moonfire-nvr config 2>debug-log` |
| Enable and start the server | `sudo systemctl enable --now moonfire-nvr` | `sudo docker compose up --detach moonfire-nvr` |
<table>
<tr><th colspan="2">Initialize the database</th></tr>
<tr><td>Host</td><td><code>sudo -u moonfire-nvr moonfire-nvr init</code></td></tr>
<tr><td>Docker</td><td><code>sudo docker compose run --rm moonfire-nvr init</code></td></tr>
<tr><th colspan="2">Run interactive configuration</th></tr>
<tr><td>Host</td><td><code>sudo -u moonfire-nvr moonfire-nvr config 2>debug-log</code></td></tr>
<tr><td>Docker</td><td><code>sudo docker compose run --rm moonfire-nvr config 2>debug-log</code></td></tr>
<tr><th colspan="2">Enable and start the server</th></tr>
<tr><td>Host</td><td><code>sudo systemctl enable --now moonfire-nvr</code></td></tr>
<tr><td>Docker</td><td><code>sudo docker compose up --detach moonfire-nvr</code></td></tr>
</table>
</details></td></tr></table>
Expand Down

0 comments on commit c674b68

Please sign in to comment.