From bf5c8f218f34bda235dae321061c4337de2c2aba Mon Sep 17 00:00:00 2001 From: luccast <2213102+luccast@users.noreply.github.com> Date: Sun, 25 Jan 2026 18:04:30 -0500 Subject: [PATCH] Update README.md to enhance configuration instructions for gateway authentication, providing two options for setting the CLAWDBOT_API_TOKEN environment variable. --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 47bc090..e379388 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,14 @@ Requires clawdbot gateway running on `ws://127.0.0.1:18789`. ## Config -Set `CLAWDBOT_API_TOKEN` env var for gateway authentication. +```bash +# Option 1: command line +CLAWDBOT_API_TOKEN=your-token npm run dev + +# Option 2: env file +echo "CLAWDBOT_API_TOKEN=your-token" > .env.local +npm run dev +``` ## Stack