We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59f99e2 commit af1645fCopy full SHA for af1645f
apps/postgres-new/README.md
@@ -46,7 +46,16 @@ From this directory (`./apps/postgres-new`):
46
```shell
47
echo 'OPENAI_API_KEY="<openai-api-key>"' >> .env.local
48
```
49
-5. Start Next.js development server:
+5. Start local Redis containers (used for rate limiting). Serves an API on port 8080:
50
+ ```shell
51
+ docker compose up -d
52
+ ```
53
+6. Store local KV (Redis) vars. Use these exact values:
54
55
+ echo 'KV_REST_API_URL="http://localhost:8080"' >> .env.local
56
+ echo 'KV_REST_API_TOKEN="local_token"' >> .env.local
57
58
+7. Start Next.js development server:
59
60
npm run dev
61
0 commit comments