Skip to content

Automate initial setup using a ddev command

The initial setup contains quite a few steps:

Quickstart

Configure ddev, install packages and start the ddev instance:

ddev config --project-name=<project-name> --project-type=typo3
ddev composer install
ddev start
ddev typo3 setup

Prepare and build frontend:

ddev npm install
ddev npm run build:production

Initialize data (page tree and link assets):

ddev typo3 extension:setup
ddev composer dumpautoload

Adding a command that runs all necessary steps would make the initial setup even more convenient, e.g. ddev typo3-init