Ticket to Ride scoreboard is small CRUD app for create Ticket to Ride games and show chart stats about them.
- PHP >= 7.4 (http://php.net)
- MySQL >= 5.6 (http://mysql.com)
- Laravel >= 8.0 (http://laravel.com)
cp .env.example .env
composer install
php artisan key:generate
npm install
- Don't forget to set database
- Run and seed all migrations -
php artisan migrate:fresh --seed
- Or only run them with
php artisan migrate
- Or only seed them with
php artisan db:seed
if you already migrated them (won't work if they are not migrated)
- Or only run them with
- Don't forget to set the environment with
APP_ENV=production
in.env
file - Don't forget to turn off debug mode with
APP_DEBUG=false
in.env
file - Run all migrations -
php artisan migrate:fresh