- Change namespace from AppName to your app name (NOT
APP
🙏) - find all mentions by searchAppName
orapp-name
orapp_name
- Change service names in deployment/values-prod.yml and deployment/values-local.yml
php -S 0.0.0.0:8080 public/index.php
First run
Warmup app
bin/console c:c --env=test
Create test database
bin/console --env=test doctrine:database:drop --if-exists --force
bin/console --env=test doctrine:database:create --if-not-exists
Run migrations and fixtures
bin/console --env=test doctrine:migrations:migrate --no-interaction --allow-no-migration
bin/console --env=test doctrine:fixtures:load --group=dev --no-interaction --purger=wo_dict_purger
Run tests
php bin/phpunit tests
php bin/console doctrine:fixtures:load --group=dev