mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-11-03 22:32:27 +08:00
doc: more detailed frontend debug comment
This commit is contained in:
@@ -44,8 +44,14 @@ Install dependencies and start the frontend
|
||||
```bash
|
||||
pnpm install
|
||||
pnpm dev
|
||||
|
||||
# If pnpm is not installed, you can also use npm to solve dependencies and start
|
||||
npm install
|
||||
npm run dev
|
||||
```
|
||||
|
||||
Then according to the output information, visit `http://127.0.0.1:3000` to view the standalone frontend page.
|
||||
|
||||
:::info
|
||||
When using `pnpm dev` to start locally, the environment variable `NEXT_PUBLIC_API_BASE_URL` will be automatically used by the frontend to ensure that the frontend can access the `5300` port of the locally running backend.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user