1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Added a rake task that randomly selects winners for tournament 204 from seeded tournaments.

This commit is contained in:
2025-01-07 08:19:21 -05:00
parent 6adcc709e7
commit b5150a3a37
3 changed files with 57 additions and 0 deletions

View File

@@ -18,3 +18,6 @@ docker-compose -f ${project_dir}/deploy/docker-compose-test.yml exec -T app rake
echo Resetting the db with seed data
docker-compose -f ${project_dir}/deploy/docker-compose-test.yml exec -T app bash -c "DISABLE_DATABASE_ENVIRONMENT_CHECK=1 rake db:reset"
# echo Simulating tournament 204
# docker-compose -f ${project_dir}/deploy/docker-compose-test.yml exec -T app rails tournament:assign_random_wins