Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 667 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 667 Bytes

Roofr - Technical Interview Challenge

The task is here

Installation

  1. Install docker compose https://docs.docker.com/compose/install/#scenario-one-install-docker-desktop
  2. Clone the repository
  3. Run docker compose up
  4. Run docker compose exec my-app composer install -o
  5. Run docker compose exec my-app php artisan migrate --seed
  6. Load in browser http://localhost:8081

Testing

  1. Migrate and seed a test database: docker compose exec my-app php artisan migrate --seed --env=testing
  2. Run tests with docker compose exec my-app php artisan test