File tree Expand file tree Collapse file tree 2 files changed +12
-19
lines changed
Expand file tree Collapse file tree 2 files changed +12
-19
lines changed Original file line number Diff line number Diff line change @@ -50,29 +50,18 @@ Before you begin, you'll need to install a few tools:
5050
51515 . ** Start development services** :
5252
53- ** Option A: All-in-one (recommended)**
54-
55- ``` bash
56- bun run dev
57- # Starts the web server, builds the SDK, and launches the CLI automatically
58- ```
59-
60- ** Option B: Separate terminals (for more control)**
61-
6253 ``` bash
63- # Terminal 1 - Web server (start first)
54+ # Terminal 1 - Start the web server first
6455 bun run start-web
6556 # Expected: Ready on http://localhost:3000
6657
67- # Terminal 2 - CLI client (requires web server to be running first )
58+ # Terminal 2 - Start the CLI (requires web server to be running)
6859 bun run start-cli
6960 # Expected: Welcome to Codebuff! + agent list
7061 ```
7162
7263 Now, you should be able to run the CLI and send commands, but it will error out because you don't have any credits.
7364
74- ** Note** : CLI requires the web server running for authentication.
75-
76656 . ** Giving yourself credits** :
7766
7867 1 . Log into Codebuff at [ http://localhost:3000/login ] ( http://localhost:3000/login )
Original file line number Diff line number Diff line change @@ -33,19 +33,23 @@ Codebuff is a tool for editing codebases via natural-language instructions to Bu
3333
3434## Development
3535
36- Start everything :
36+ Start the web server first :
3737
3838``` bash
39- bun dev
39+ bun up
4040```
4141
42- Or run services + CLI separately:
42+ Then start the CLI separately:
4343
4444``` bash
45- bun up
4645bun start-cli
47- bun ps
48- bun down
46+ ```
47+
48+ Other service commands:
49+
50+ ``` bash
51+ bun ps # check running services
52+ bun down # stop services
4953```
5054
5155Worktrees (run multiple stacks on different ports): create ` .env.development.local ` :
You can’t perform that action at this time.
0 commit comments