Zeetay commited on
Commit
4fb678b
·
1 Parent(s): 464c9fb

docs: update deploy references from Vercel to Netlify

Browse files
Files changed (3) hide show
  1. .dockerignore +1 -1
  2. README.md +2 -2
  3. web/.env.example +1 -1
.dockerignore CHANGED
@@ -11,7 +11,7 @@ chroma_db/
11
  __pycache__/
12
  *.pyc
13
 
14
- # Frontend (deployed separately to Vercel)
15
  web/
16
 
17
  # Git metadata
 
11
  __pycache__/
12
  *.pyc
13
 
14
+ # Frontend (deployed separately to Netlify)
15
  web/
16
 
17
  # Git metadata
README.md CHANGED
@@ -31,14 +31,14 @@ The hosted demo runs the full loop from the browser: fill the brief (pre-filled
31
  with a FitFuel example), click **Generate**, and watch the agent retrieve past
32
  winners, generate three variants, and score each on four dimensions in real time.
33
 
34
- - **Frontend:** Next.js (App Router) deployed on **Vercel**, in [`web/`](web/).
35
  - **Backend:** the FastAPI app deployed on **Hugging Face Spaces** (Docker, see [`Dockerfile`](Dockerfile)),
36
  with CORS, a per-IP rate limit on `/run`, a `/stats` endpoint, and a startup
37
  seed so a fresh deployment shows non-zero stats and working retrieval on the
38
  very first visit.
39
 
40
  > Deployment env vars: the backend needs `GROQ_API_KEY` (and optionally
41
- > `CORS_ORIGINS` = your Vercel URL); the frontend needs `NEXT_PUBLIC_API_URL` =
42
  > your Hugging Face Space URL. See the per-app `.env.example` files.
43
 
44
  ---
 
31
  with a FitFuel example), click **Generate**, and watch the agent retrieve past
32
  winners, generate three variants, and score each on four dimensions in real time.
33
 
34
+ - **Frontend:** Next.js (App Router) deployed on **Netlify**, in [`web/`](web/).
35
  - **Backend:** the FastAPI app deployed on **Hugging Face Spaces** (Docker, see [`Dockerfile`](Dockerfile)),
36
  with CORS, a per-IP rate limit on `/run`, a `/stats` endpoint, and a startup
37
  seed so a fresh deployment shows non-zero stats and working retrieval on the
38
  very first visit.
39
 
40
  > Deployment env vars: the backend needs `GROQ_API_KEY` (and optionally
41
+ > `CORS_ORIGINS` = your site URL); the frontend needs `NEXT_PUBLIC_API_URL` =
42
  > your Hugging Face Space URL. See the per-app `.env.example` files.
43
 
44
  ---
web/.env.example CHANGED
@@ -1,4 +1,4 @@
1
  # URL of the FastAPI backend the frontend calls (/run and /stats).
2
  # Locally, point this at the running uvicorn server (default port 8000).
3
- # In production, set it to your Hugging Face Space URL in the Vercel dashboard.
4
  NEXT_PUBLIC_API_URL=http://localhost:3000
 
1
  # URL of the FastAPI backend the frontend calls (/run and /stats).
2
  # Locally, point this at the running uvicorn server (default port 8000).
3
+ # In production, set it to your Hugging Face Space URL in the Netlify dashboard.
4
  NEXT_PUBLIC_API_URL=http://localhost:3000