1. Before you start – make sure the engine is running
WinMatic is a FastAPI backend plus static pages. If the backend isn’t running, all buttons will show dashes (–) and empty cards.
Start the server:
- Open a terminal and go to your project folder:
cd /Users/mutarosi/football-predictor - Run the API using your start script:
./start.sh - Make sure the env variable is set (you already did this):
export API_FOOTBALL_KEY="your_real_key"
Then check:
http://127.0.0.1:8001/health → should say {"status":"ok"}
http://127.0.0.1:8001/docs → Swagger with all endpoints
Tip: Leave this terminal window open while you use the app. You’ll see useful logs for training, API calls and any errors.