To locally install project, a few required tools are needed:
- docker & docker-compose (compatible with version 3 compose files)
- make
- unix/osx (on windows probably automatized scripts are not usable)
Available endpoints and how to use them is described in Project technical documentation
To install locally you can just run following command:
$ make install
There is prepared git hooks for pre-commit
with php-cs-fixer
. To install hook use:
$ cd <project-root>
$ ln -s _git/hooks/pre-commit .git/hooks/pre-commit
A few make options are added for docker-compose simplification:
$ #docker-compose up -d
$ make up
$ #docker-compose down --volumes
$ make down
$ #docker-compose ps
$ make status
All helper scripts are in docker/bin
directory.
Phpunit executable can be run throgh docker container with:
$ cd <project-root>
$ ./docker/bin/phpunit