- Docker / Docker-compose
- PHP7.0 | PHP8.0
- Composer
- composer install
- cp .env.example .env
- Fill .env attributes for
DB_DATABASE
,DB_USERNAME
,DB_PASSWORD
- run command
sail up -d
in order to run docker-containers - run command
sail artisan key:generate
to generate app_key - run command
sail artisan migrate:refresh --seed
to migrate and populate with fake data
- run command
sail artisan test
to run feature tests - run command
sail artisan test --coverage-html tests/reports
this will generate complete html report ontest/reports/index.html