graph LR A["FrenoyApiClient.Sync Matches and Tournaments"] --> B["AggregateService.CalculateAndSave Creates PlayerResultsEntities"] B --> C[TrainingService.Train<br />Creates the ML models] cp .example.env .env cp src/PongRank.WebApi/appsettings.json src/PongRank.WebApi/appsettings.Release.json docker-compose up -d --buildUse docker compose up -d --build.
Migrations will run at startup of application.
cd src/PongRank.DataAccess dotnet ef database update # Install dotnet tool install --global dotnet-ef dotnet tool update --global dotnet-ef # Create dotnet ef migrations add InitialCreate # Delete dotnet ef migrations remove dotnet ef database drop -fSELECT "Competition", "Year", "CategoryName", "SyncCompleted", COUNT(0) FROM "Clubs" GROUP BY "Competition", "Year", "CategoryName", "SyncCompleted" ORDER BY "Competition", "Year", "CategoryName", "SyncCompleted"