docs: remove AI worker in the setup process

This commit is contained in:
James Murdza 2024-11-26 22:30:24 -05:00 committed by GitHub
parent 61b012b9fd
commit fbc56dc7fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -143,21 +143,7 @@ Update `/backend/server/.env`:
E2B_API_KEY='🔑'
```
### 9. Adding AI code generation
In the `/backend/ai` directory:
```
npx wrangler deploy
```
Update `/backend/server/.env`:
```
AI_WORKER_URL='https://ai.🍎.workers.dev'
```
### 10. Configuring the frontend
### 9. Configuring the frontend
Update `/frontend/.env`:
@ -165,9 +151,10 @@ Update `/frontend/.env`:
NEXT_PUBLIC_DATABASE_WORKER_URL='https://database.🍎.workers.dev'
NEXT_PUBLIC_STORAGE_WORKER_URL='https://storage.🍎.workers.dev'
NEXT_PUBLIC_WORKERS_KEY='SUPERDUPERSECRET'
ANTHROPIC_API_KEY='🔑'
```
### 11. Running the IDE
### 10. Running the IDE
Run `npm run dev` simultaneously in: