Download screenshot2-add-expense-sparse/environment/app/run.sh from ApolloTeam/fullstackbench-tasks: direct link, hf CLI and curl.
- Browser
- Download file 363 Bytes
-
https://huggingface.co/datasets/ApolloTeam/fullstackbench-tasks/resolve/main/screenshot2-add-expense-sparse/environment/app/run.sh
- Command line
-
hf download hf://datasets/ApolloTeam/fullstackbench-tasks/screenshot2-add-expense-sparse/environment/app/run.sh
-
curl -L -o run.sh https://huggingface.co/datasets/ApolloTeam/fullstackbench-tasks/resolve/main/screenshot2-add-expense-sparse/environment/app/run.sh
363 Bytes
| DIR="$(cd "$(dirname "$0")" && pwd)" | |
| PIDS=() | |
| cleanup() { | |
| for pid in "${PIDS[@]}"; do | |
| kill "$pid" 2>/dev/null | |
| done | |
| } | |
| trap cleanup EXIT | |
| # Start backend | |
| ( | |
| source "$DIR/.venv/bin/activate" | |
| cd "$DIR/backend" | |
| python run.py | |
| ) & | |
| PIDS+=($!) | |
| # Start frontend | |
| ( | |
| cd "$DIR/frontend" | |
| npm run dev | |
| ) & | |
| PIDS+=($!) | |
| wait | |