You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DEVELOPMENT.md
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ brew install --cask docker
74
74
75
75
**Important:** Open Docker Desktop at least once after installation — it configures the CLI tools needed for `docker compose`.
76
76
77
-
### Vercel CLI
77
+
### Vercel CLI (recommended if you have access)
78
78
79
79
Used to pull environment variables from the Vercel project:
80
80
@@ -108,6 +108,8 @@ git lfs pull
108
108
109
109
### 3. Set up environment variables
110
110
111
+
#### a. Set up using Vercel
112
+
111
113
The project pulls environment variables from Vercel. Run these commands interactively (each will prompt for browser-based authentication):
112
114
113
115
```bash
@@ -125,6 +127,20 @@ The KiloClaw pages (`/claw/*`) render the Pylon support chat widget, which requi
125
127
126
128
Both are already present in Vercel and pulled by `vercel env pull`. If either is missing the widget is silently skipped, so local dev continues to work without Pylon configured.
127
129
130
+
#### b. Set up manually
131
+
132
+
If you do not have Vercel access (typical for non-Kilo-employees), you will need to set up the `.env.local` file manually.
133
+
134
+
Copy `.env.local.example` to `.env.local`, then update the following variables in `.env.local`:
135
+
136
+
-`NEXTAUTH_SECRET`: Generate a random secret with `openssl rand -base64 32`
137
+
-`INTERNAL_API_SECRET`: Generate a random secret with `openssl rand -base64 32`
138
+
-`STRIPE_SECRET_KEY` and `NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY`: These must be set to create a fake account. You can use an existing Stripe account or create a new one, and use the keys from Sandbox Mode (formerly Test Mode) here.
139
+
140
+
Then copy `.env.development.local.example` to `.env.development.local`.
141
+
142
+
These changes will allow you to do local testing with a fake account.
143
+
128
144
### 4. Start the database
129
145
130
146
The project uses PostgreSQL 18 with pgvector, running via Docker. The compose file is at `dev/docker-compose.yml`:
0 commit comments