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
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
9132 . Install dependencies:
1014
1115 ``` bash
12- npm install
16+ bun install
1317 ```
1418
15193 . 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
You can’t perform that action at this time.
0 commit comments