Dipti Dhawade commited on
Commit
6548616
·
1 Parent(s): 861e6dd

chore: remove DEPLOYMENT_FREE.md

Browse files
Files changed (1) hide show
  1. DEPLOYMENT_FREE.md +0 -66
DEPLOYMENT_FREE.md DELETED
@@ -1,66 +0,0 @@
1
- # Free Deployment Checklist
2
-
3
- This project is set up for:
4
-
5
- - Frontend: GitHub Pages
6
- - Backend: Hugging Face Spaces (Docker)
7
-
8
- ## 1) Deploy backend (Hugging Face Space)
9
-
10
- 1. Open your Space: `diptidhawade/NoteScanner`.
11
- 2. In **Files**, upload this repository content (or push from git).
12
- 3. Ensure the Space uses the root `Dockerfile` (already configured to run on `${PORT}` with default `7860`).
13
- 4. In Space **Settings -> Variables and secrets**, add:
14
-
15
- ### Required Space secrets
16
-
17
- - `SARVAM_API_KEY`
18
-
19
- ### Recommended Space variables/secrets
20
-
21
- - `SARVAM_API_BASE` (optional, default works)
22
- - `SARVAM_MODEL_RAG` (optional)
23
- - `SARVAM_MODEL_STUDY` (optional)
24
- - `SARVAM_DOC_INTEL_LANGUAGE` (optional)
25
- - `SARVAM_DOC_INTEL_TIMEOUT` (optional)
26
-
27
- ### Chroma (required for persistent note features)
28
-
29
- Use one option:
30
-
31
- - Chroma Cloud:
32
- - `CHROMA_API_KEY`
33
- - `CHROMA_TENANT`
34
- - `CHROMA_DATABASE`
35
- - OR self-hosted Chroma:
36
- - `CHROMA_HOST`
37
- - `CHROMA_PORT`
38
- - `CHROMA_SSL` (optional)
39
-
40
- 1. Wait for Space build to finish.
41
- 2. Copy backend URL, e.g. `https://diptidhawade-NoteScanner.hf.space`
42
-
43
- ## 2) Configure GitHub Pages frontend
44
-
45
- 1. In your GitHub repo, go to **Settings -> Secrets and variables -> Actions -> New repository secret**.
46
- 2. Add this secret:
47
-
48
- - `VITE_API_URL` = `https://diptidhawade-NoteScanner.hf.space`
49
-
50
- 1. Push to `main` (or rerun workflow `Deploy to GitHub Pages`).
51
- 2. GitHub Pages URL will be:
52
- - `https://<your-username>.github.io/NoteScanner/`
53
-
54
- ## 3) Verify
55
-
56
- 1. Open frontend URL.
57
- 2. Confirm these work:
58
- - `+` chat upload
59
- - query response
60
- - explorer upload
61
- - study generation
62
-
63
- ## Notes
64
-
65
- - Backend on free HF Space may sleep when idle (cold start delay on first request).
66
- - If frontend shows backend/network errors, first check `VITE_API_URL` secret and Space build logs.