File tree Expand file tree Collapse file tree 1 file changed +8
-26
lines changed Expand file tree Collapse file tree 1 file changed +8
-26
lines changed Original file line number Diff line number Diff line change @@ -4,40 +4,22 @@ A simple ChatGPT-like interface for AgentAPI. It's a demo showcasing how to use
4
4
5
5
## Development Setup
6
6
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
+ ```
8
12
9
13
2 . Install dependencies:
10
14
11
15
``` bash
12
- npm install
16
+ bun install
13
17
```
14
18
15
19
3 . Start the development server:
16
20
17
21
``` bash
18
- npm run dev
22
+ bun run dev
19
23
```
20
24
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
You can’t perform that action at this time.
0 commit comments