tools / start_admin.sh
Tataaicoltd's picture
deploy: admin dashboard + FastAPI backend
a62f8b4 verified
Raw History Blame Contribute Delete
419 Bytes
#!/bin/bash
# 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