Spaces:
Running
Running
Download start_admin.sh from Tataaicoltd/tools: direct link, hf CLI and curl.
- Browser
- Download file 419 Bytes
-
https://huggingface.co/spaces/Tataaicoltd/tools/resolve/main/start_admin.sh
- Command line
-
hf download hf://spaces/Tataaicoltd/tools/start_admin.sh
-
curl -L -o start_admin.sh https://huggingface.co/spaces/Tataaicoltd/tools/resolve/main/start_admin.sh
419 Bytes
| # Start the Admin Dashboard HTTP server | |
| set -e | |
| # Get the directory of this script | |
| SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
| # Change to admin directory | |
| cd "$SCRIPT_DIR/admin" | |
| echo "๐ Starting Admin Dashboard..." | |
| echo "๐ Port: 4040" | |
| echo "๐ URL: http://localhost:4040" | |
| echo "๐ API: http://localhost:4000/api" | |
| echo "" | |
| # Start the HTTP server | |
| python3 -m http.server 4040 | |