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 #260

Merged
merged 3 commits into from
Dec 25, 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
8 changes: 4 additions & 4 deletions docs/docs/Installation/FreeBSD.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ First, make sure PostgreSQL and ZeroTier are installed and configured on your Fr
```bash
pkg update
pkg install zerotier protobuf curl git node
pkg install postgresql13-server postgresql13-contrib
pkg install postgresql15-server postgresql15-contrib
sysrc postgresql_enable=yes
service postgresql initdb
service postgresql start
Expand Down Expand Up @@ -73,9 +73,9 @@ setenv PRISMA_QUERY_ENGINE_LIBRARY /root/prisma-engines/target/release/libquery_
5. Create a `.env` file in the root directory and populate it with the necessary environment variables. Make sure these match what you've set up in your PostgreSQL database.
```
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/ztnet?schema=public
ZT_ADDR=http://localhost:9993
ZT_ADDR=http://127.0.0.1:9993
NEXT_PUBLIC_SITE_NAME=ZTnet
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_URL="http://ZTNET_Controller_Web_UI_IP_ADDRESS:3000"
NEXTAUTH_SECRET="random_secret"
```

Expand All @@ -101,4 +101,4 @@ setenv PRISMA_QUERY_ENGINE_LIBRARY /root/prisma-engines/target/release/libquery_
```

## Ztnet Environment Variables
See [Environment Variables](/installation/options#environment-variables) for more information.
See [Environment Variables](/installation/options#environment-variables) for more information.
Loading