Skip to content

Commit ec74e66

Browse files
committed
chat: update development instructions in the readme
1 parent 9366b1d commit ec74e66

File tree

1 file changed

+8
-26
lines changed

1 file changed

+8
-26
lines changed

chat/README.md

Lines changed: 8 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,40 +4,22 @@ A simple ChatGPT-like interface for AgentAPI. It's a demo showcasing how to use
44

55
## Development Setup
66

7-
1. Ensure the AgentAPI backend server is running on `localhost:3284`
7+
1. Ensure the AgentAPI backend server is running on `localhost:3284`. You can run it from the root of the repository with e.g.
8+
9+
```bash
10+
go run main.go server -- claude
11+
```
812

913
2. Install dependencies:
1014

1115
```bash
12-
npm install
16+
bun install
1317
```
1418

1519
3. Start the development server:
1620

1721
```bash
18-
npm run dev
22+
bun run dev
1923
```
2024

21-
4. Open [http://localhost:3000](http://localhost:3000) in your browser
22-
23-
## Static Build for Hosting
24-
25-
This application can be built as a static site for deployment to any static web hosting service.
26-
27-
### Building the Static Site
28-
29-
```bash
30-
# Generate the static export
31-
npm run export
32-
```
33-
34-
This will create a static build in the `out` directory, which can be deployed to any static hosting service.
35-
36-
### Testing the Static Build Locally
37-
38-
```bash
39-
# Serve the static files locally
40-
npm run serve-static
41-
```
42-
43-
This will start a local server to test the static build.
25+
4. Open <http://localhost:3000/chat/?url=http://localhost:3284> in your browser

0 commit comments

Comments
 (0)