3.13 Build & Run
Once configuration is complete, you can build and run the TestApplication to verify that your plugin works correctly.
1. Prepare the database
If your plugin provides Doctrine migrations, run:
vendor/bin/console doctrine:database:create --if-not-exists
vendor/bin/console doctrine:migrations:migrate --no-interaction
If your plugin does not include migrations, but defines its own entities, run instead:
vendor/bin/console doctrine:database:create --if-not-exists
vendor/bin/console doctrine:schema:create --no-interaction
2. Load fixtures
vendor/bin/console sylius:fixtures:load -n
3. Build assets
yarn install --cwd vendor/sylius/test-application
yarn --cwd vendor/sylius/test-application encore dev
vendor/bin/console assets:install
4. Start the server
symfony server:start -d
The application should now be accessible at ➡️ https://127.0.0.1:8000
Last updated
Was this helpful?