Skip to content

Development Environment

Sergii Pryz edited this page Dec 24, 2024 · 8 revisions

Docker

Transfer Object (TO) repository includes development environemnt with Docker SDK shell script.

Running command bellow shows all availabile commands and arguments e.g. phpunit, phpstan etc.

docker/sdk

Project Installation

In order to start work with TO please install Docker and Docker Compose first.

  1. Build Containers
docker/sdk build
  1. Run container in background
docker/sdk start
  1. Install composer's dependencies
docker/sdk composer install
  1. Install CaptainHooks
docker/sdk hook-install
  1. Check installed CaptainsHooks
docker/sdk hook config:info

XDebug

Xdebug is truned off by default in order to turn it on:

  1. Stop container
docker/sdk stop
  1. Rebuild with option -x
docker/sdk -x build
  1. Start container
docker/sdk start
Clone this wiki locally