Spaces:
Running
Running
Bibhu Mishra
Claude Sonnet 4.6
Add GitHub Actions CI/CD, HF Space deployment, market hours guard, and static serving
abc493d Download scripts/start_api.sh from mishrabp/stockadvisor: direct link, hf CLI and curl.
- Browser
- Download file 244 Bytes
-
https://huggingface.co/spaces/mishrabp/stockadvisor/resolve/main/scripts/start_api.sh
- Command line
-
hf download hf://spaces/mishrabp/stockadvisor/scripts/start_api.sh
-
curl -L -o start_api.sh https://huggingface.co/spaces/mishrabp/stockadvisor/resolve/main/scripts/start_api.sh
244 Bytes
| set -e | |
| cd "$(dirname "$0")/../api" | |
| # Free port 3000 if already in use | |
| if fuser 3000/tcp &>/dev/null; then | |
| echo "[API] Port 3000 in use — stopping existing process..." | |
| fuser -k 3000/tcp | |
| sleep 1 | |
| fi | |
| npm run start:dev | |