my symfony6 api
1.0.0
//Start the app
docker-compose up -d --build
//Install dependencies
docker-compose exec app composer install
//Create, migrate and populate the database
docker-compose exec app php bin/console d:d:create
docker-compose exec app php bin/console d:m:migrate
docker-compose exec app php bin/console doctrine:fixtures:load
끝났어요! 프로젝트는 http://localhost:8090/api/v1
에서 실행됩니다.
http://localhost:8090/api/doc
//Create, migrate and populate the database
docker-compose exec app php bin/console --env=test d:d:create
docker-compose exec app php bin/console --env=test d:m:migrate
docker-compose exec app php bin/console --env=test doctrine:fixtures:load
//Run tests
docker-compose exec app php bin/phpunit --testdox