tseho/symfony-cli-skeleton

v2.0.0 2021-11-29 22:14 UTC

This package is auto-updated.

Last update: 2024-04-29 04:41:09 UTC


README

How to use the skeleton

composer create-project --ignore-platform-reqs tseho/symfony-cli-skeleton [directory]

Production

Build the docker image:

DOCKER_IMAGE_NAME=foo DOCKER_IMAGE_VERSION=latest make docker-image

Launch a symfony command with it:

docker run --rm $DOCKER_IMAGE_NAME:$DOCKER_IMAGE_VERSION bin/console [cmd]

Development

Build the development environment:

make build

How to execute a symfony command:

docker-compose run --rm php bin/console [cmd]

How to execute a composer command:

docker-compose run --rm composer [cmd]

How to launch the tests:

make tests