docker-compose build
docker-compose updocker-compose exec php bin/console doctrine:database:create --if-not-exists
docker-compose exec php bin/console doctrine:migrations:migrate -n
docker-compose exec php bin/console hautelook:fixtures:load --no-bundles -n- Decide on a token value to use
- Create an MD5 hash of that value
- Set the hashed value as
API_TOKENin.env.localand.env.test.local - Use the original token value as the value of the
X-AUTH-TOKENheader value when making API requests
List available endpoints
php ./bin/console debug:routerphp ./bin/console doctrine:database:create --if-not-exists --env=test
php ./bin/console doctrine:migrations:migrate -n --env=test
SYMFONY_PHPUNIT_VERSION=8
export SYMFONY_PHPUNIT_VERSION
php ./bin/phpunitphp ./bin/phpunitor with php-xdebug installed locally
php ./bin/phpunit --coverage-html coverage --coverage-text