Skip to content

Commit 8092589

Browse files
committed
fix contrib to not say bun dev runs both
1 parent 5ecf1f0 commit 8092589

File tree

2 files changed

+12
-19
lines changed

2 files changed

+12
-19
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -50,29 +50,18 @@ Before you begin, you'll need to install a few tools:
5050

5151
5. **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-
7665
6. **Giving yourself credits**:
7766

7867
1. Log into Codebuff at [http://localhost:3000/login](http://localhost:3000/login)

knowledge.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff 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
4645
bun 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

5155
Worktrees (run multiple stacks on different ports): create `.env.development.local`:

0 commit comments

Comments
 (0)