Spaces:
Running
Running
File size: 419 Bytes
a62f8b4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #!/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
|