Spaces:
Sleeping
Sleeping
Download run_local.bat from hisham-cmd/VortexCommerceBackend: direct link, hf CLI and curl.
- Browser
- Download file 499 Bytes
-
https://huggingface.co/spaces/hisham-cmd/VortexCommerceBackend/resolve/main/run_local.bat
- Command line
-
hf download hf://spaces/hisham-cmd/VortexCommerceBackend/run_local.bat
-
curl -L -o run_local.bat https://huggingface.co/spaces/hisham-cmd/VortexCommerceBackend/resolve/main/run_local.bat
499 Bytes
| @echo off | |
| echo ========================================== | |
| echo Starting VortexCommerce Local Backend... | |
| echo ========================================== | |
| if not exist venv ( | |
| echo [!] venv not found. Creating it... | |
| python -m venv venv | |
| ) | |
| call venv\Scripts\activate | |
| echo [*] Installing dependencies... | |
| pip install -r requirements.txt | |
| echo [OK] Dependencies ready. | |
| echo [*] Starting Uvicorn on http://localhost:8000 | |
| set PYTHONPATH=. | |
| uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload | |
| pause | |