Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 681 Bytes

README.md

File metadata and controls

45 lines (31 loc) · 681 Bytes

Pickit Challenge

Docker deploy

Used versions.

Docker: 20.10.7
Docker Compose: 1.27.4

Create docker-compose.override.yaml file to set a free port.

version: '3'

services:

    apache:
        ports:
            - "8080:80"

Build and run containers.

docker-compose build
docker-compose up --detach

Execute database migrations.

docker-compose exec php bin/console doctrine:migrations:migrate 
docker-compose exec php bin/console doctrine:migrations:migrate --env=test

Execute tests.

docker-compose exec php bin/phpunit

Api use cases examples.

The example.http file contains the use cases examples.