- Docker desktop
For project installation, please follow next steps:
- Clone the repo
- Open terminal and go to the project directory
- Execute
cp .env.example .env
- Execute
docker compose build
to build the images - Execute
docker run -it --rm -v $(pwd):/app test-task/app composer install -o
to install composer dependencies - Execute
docker compose up -d
to start the containers - Execute
docker exec -it test-task-app-1 bash
to run access container terminal - Execute
./.bin/setup-app.sh
Inside application container run npm run dev
- Execute
php artisan ide-helper:generate
- Execute
php artisan ide-helper:meta
- Execute
php artisan ide-helper:models --write-mixin
- Execute
php artisan migrate --force
- Execute
php artisan migrate:refresh --seed
- Execute
php composer test