Update README.md

This commit is contained in:
Zai Shi 2024-06-10 15:58:51 +02:00 committed by GitHub
parent 1b5428d5b3
commit 67aefdae98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -99,7 +99,7 @@ pnpm run prisma:server migrate reset
pnpm run dev
```
You can now open the dashboard at [http://localhost:8101](http://localhost:8101), demo on port 8103, and docs on port 8104.
You can now open the dashboard at [http://localhost:8101](http://localhost:8101), demo on port 8103, and docs on port 8104. Note for any project that you want connecting to the local server (like demo), you need to set `NEXT_PUBLIC_STACK_URL=http://localhost:8101` in the environment variables.
Your IDE may show an error on all `@stackframe/XYZ` imports. To fix this, simply restart the TypeScript language server; for example, in VSCode you can open the command palette (Ctrl+Shift+P) and run `Developer: Reload Window` or `TypeScript: Restart TS server`.