/ start.sh
start.sh
1 #!/bin/bash 2 # Quick start script for the API 3 4 # Get the directory where this script is located 5 SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" 6 cd "$SCRIPT_DIR" 7 8 echo "Starting f(x) Protocol API..." 9 echo "Working directory: $(pwd)" 10 echo "Access at: http://127.0.0.1:8000" 11 echo "Docs at: http://127.0.0.1:8000/docs" 12 echo "" 13 uvicorn app.main:app --reload --host 127.0.0.1 --port 8000 14