To deploy the application, simply run:
fly deployThis command will:
- Build the Docker image.
- Run migrations (
php artisan migrate --force). - Run seeders (
php artisan db:seed --force).
The application includes a full database dump located at database/snapshots/full_dump.sql.
- On Deployment: The
DatabaseSeederchecks for this file. If it exists, it loads the dump usingpsql. If it doesn't exist, it runs the standard seeders. - Updating the Dump: To update the dump, run
php artisan db:snapshot-seedslocally and commit the changes todatabase/snapshots/full_dump.sql. - Deleting the Dump: If you want to stop using the dump and revert to standard seeders, simply delete the file
database/snapshots/full_dump.sqlfrom the repository and commit the deletion.
-
The last thing is done was the Team Stats and
-
Next Step is to check:
-
Random: do the random and send to telegram
-
Libertadores and Sudamericana sections
-
Strikes
-
Team VS Teams stats
-
Add filter stats by tournament
What to do with new games?
- Make sure RESET_DATABASE=false and run the db:seed --class=GameSeeder
What to do with a new version of the game?
- Team Stats: click on a team should show the game list
- Dropdowns should accept search torneo 3 me esta dando el titulo a mi en vez de juan en resources/js/Hooks/useTournamentPositions.js y es porque es el torneo de las dos semis