Soccer league simulater app developed using stacks: Laravel, Twitter Bootstrap, VueJS.
To run app locally:
Clone repo
Navigate to project folder
composer install
cp .env.example .env
- Update database credentials in .env file
php artisan key:generate
php artisan migrate:fresh --seed
php artisan serve
- Open browser and navigate to
https://localhost:8000/
To run app inside docker:
Navigate to project folder
./vendor/bin/sail up -d
./vendor/bin/sail migrate:fresh --seed
- Open browser and navigate to
https://0.0.0.0/
- If container does not start because of port issues, add APP_PORT to variable with free port value in your machine to .env file
To stop docker container run command:
./vendor/bin/sail down
To run tests:
php artisan test
To add more teams open teams.txt file which located at the base folder of project and write down new teams (Note: teams must me separated by new line).