Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update freebsd.md #3394

Merged
merged 1 commit into from
Nov 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 16 additions & 6 deletions website/docs/installation/freebsd.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ pkg install erlang

<details>
<summary>Elixir (v1.12+)</summary>

```bash
pkg install elixir
```
Expand All @@ -52,20 +53,29 @@ pkg install elixir
<summary>Postgres (v14+)</summary>

```bash
pkg install postgresql14-server
pkg install postgresql14-contrib
pkg install postgresql16-server-16.0
pkg install postgresql16-contrib-16.0
echo postgres_enable="yes" >> /etc/rc.conf
```

</details>

<details>
<summary>Initialize the database</summary>

```bash
service postgresql initdb
```

</details>

<details>
<summary>Grafana (v8.3.4+) & Plugins</summary>

The latest Grafana from ports/pkg has a startup issue with the rc script, starting via rc.local is the workaround.
(might be obsolete with Grafana 9, I had no issues with a fresh install) The latest Grafana from ports/pkg has a startup issue with the rc script, starting via rc.local is the workaround.

```bash
pkg install grafana8
pkg install grafana9-9.5.7_2
echo grafana_enable="yes" >> /etc/rc.conf
# Only needed if grafana fails to start via rc.conf
echo "cd /tmp && /usr/local/etc/rc.d/grafana onestart" >> /etc/rc.local
Expand All @@ -88,7 +98,7 @@ echo mosquitto_enable="yes" >> /etc/rc.conf

```bash
pkg install node
pkg install npm-node
pkg install npm-node20-10.2.0
```

</details>
Expand Down Expand Up @@ -215,7 +225,7 @@ service teslamate start

## Import Grafana Dashboards

1. Visit [localhost:3000](http://localhost:3000) and log in. The default credentials are: `admin:admin`.
1. Visit [localhost:3000](http://localhost:3000) and log in (don't forget to start the service: service grafana start). The default credentials are: `admin:admin`.

2. Create a data source with the name "TeslaMate":

Expand Down