Skip to content

Commit 9c3680a

Browse files
authored
chore: update readme instructions (#2017)
1 parent 13ec766 commit 9c3680a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

packages/browser/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,13 @@ After all this, you'll be able to run through the below steps:
5757

5858
### Running local create react app example
5959

60-
You can use the create react app setup in `playground/nextjs` to test posthog-js as an npm module in a Nextjs application.
60+
You can use the create react app setup in `packages/browser/playground/nextjs` to test posthog-js as an npm module in a Nextjs application.
6161

6262
1. Run `posthog` locally on port 8000 (`DEBUG=1 TEST=1 ./bin/start`).
6363
1. Run `python manage.py setup_dev --no-data` on posthog repo, which sets up a demo account.
6464
1. Copy Project API key found in `http://localhost:8000/project/settings` and save it for the last step.
65-
1. Run `cd playground/nextjs`.
66-
1. Run `pnpm i` to install dependencies.
67-
1. Run `pnpm run build-posthog-js` to build `posthog-js` locally.
65+
1. Run `cd packages/browser/playground/nextjs`.
66+
1. Run `pnpm install-deps` to install dependencies.
6867
1. Run `NEXT_PUBLIC_POSTHOG_KEY='<your-local-api-key>' NEXT_PUBLIC_POSTHOG_HOST='http://localhost:8000' pnpm dev` to start the application.
6968

7069
### Tiers of testing

0 commit comments

Comments
 (0)