Spaces:
Sleeping
Sleeping
Tripagra commited on
Commit ·
88a3816
1
Parent(s): 42f628f
Configure Vercel for frontend-only deployment (ignore Python backend)
Browse files- .vercelignore +9 -0
- vercel.json +2 -1
.vercelignore
CHANGED
|
@@ -8,6 +8,15 @@ venv/
|
|
| 8 |
env/
|
| 9 |
ENV/
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
# Testing
|
| 12 |
tests/
|
| 13 |
.pytest_cache/
|
|
|
|
| 8 |
env/
|
| 9 |
ENV/
|
| 10 |
|
| 11 |
+
# Python backend (deploy to Render, not Vercel)
|
| 12 |
+
api/
|
| 13 |
+
src/
|
| 14 |
+
requirements.txt
|
| 15 |
+
runtime.txt
|
| 16 |
+
render.yaml
|
| 17 |
+
pyproject.toml
|
| 18 |
+
.python-version
|
| 19 |
+
|
| 20 |
# Testing
|
| 21 |
tests/
|
| 22 |
.pytest_cache/
|
vercel.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
| 2 |
"buildCommand": "cd frontend && npm install && npm run build",
|
| 3 |
-
"outputDirectory": "frontend/dist"
|
|
|
|
| 4 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"buildCommand": "cd frontend && npm install && npm run build",
|
| 3 |
+
"outputDirectory": "frontend/dist",
|
| 4 |
+
"functions": {}
|
| 5 |
}
|