Skip to content

Commit

Permalink
Remove unused PostHog environment variables from README
Browse files Browse the repository at this point in the history
  • Loading branch information
chimpdev committed Aug 10, 2024
1 parent 09838e5 commit 9a85127
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,22 +74,17 @@ Create a `.env` file in the `client` directory with the following environment va
```env
ANALYZE=false
NEXT_PUBLIC_CF_SITE_KEY=0x0000000000000000000000
NEXT_PUBLIC_POSTHOG_KEY=phc_000000000000000000000000
NEXT_PUBLIC_POSTHOG_HOST=https://us.i.posthog.com
```

##### Parameters
| Name | Description |
| ---- | ----------- |
| `ANALYZE` | Set to `true` to enable bundle analysis. |
| `NEXT_PUBLIC_CF_SITE_KEY` | Cloudflare site key for Turnstile. |
| `NEXT_PUBLIC_POSTHOG_KEY` | PostHog project API key. |
| `NEXT_PUBLIC_POSTHOG_HOST` | PostHog host URL. |

> [!NOTE]
> - When `ANALYZE` is set to `true`, the client will generate a bundle analysis report. This is useful for debugging and optimizing the client bundle.
> - Refer to the [Cloudflare Turnstile documentation](https://developers.cloudflare.com/turnstile/get-started/#get-a-sitekey-and-secret-key) to get your Turnstile site key.
> - The `NEXT_PUBLIC_POSTHOG_KEY` and `NEXT_PUBLIC_POSTHOG_HOST` values are used for setting up analytics on the website. We use [PostHog](https://posthog.com) for analytics. You can get the project API key from the PostHog dashboard.
### Environment Variables Configuration (Server)

Expand Down

0 comments on commit 9a85127

Please sign in to comment.