Spaces:
Sleeping
Sleeping
Download start.sh from hisham-cmd/VortexCommerceBackend: direct link, hf CLI and curl.
- Browser
- Download file 414 Bytes
-
https://huggingface.co/spaces/hisham-cmd/VortexCommerceBackend/resolve/main/start.sh
- Command line
-
hf download hf://spaces/hisham-cmd/VortexCommerceBackend/start.sh
-
curl -L -o start.sh https://huggingface.co/spaces/hisham-cmd/VortexCommerceBackend/resolve/main/start.sh
414 Bytes
| echo "=== VortexCommerce Backend Starting ===" | |
| echo "Python version: $(python --version)" | |
| echo "Working directory: $(pwd)" | |
| echo "User: $(whoami) (UID: $(id -u))" | |
| echo "Checking write permissions..." | |
| touch /app/test_write && echo "Write OK: /app is writable" && rm /app/test_write || echo "FAIL: /app is NOT writable" | |
| echo "=== Starting uvicorn ===" | |
| exec uvicorn app.main:app --host 0.0.0.0 --port 7860 | |