ddev config --project-type=typo3 --docroot=public --create-docroot=true
ddev composer create "typo3/cms-base-distribution:^9" --no-install
Define the following environment variables via .ddev/docker-compose.environment.yaml
:
version: '3.6'
services:
web:
environment:
- TYPO3_CONTEXT=Development
# TYPO3 Console Setup support
- TYPO3_INSTALL_ADMIN_USER=admin
- TYPO3_INSTALL_ADMIN_PASSWORD=password
- TYPO3_INSTALL_SITE_NAME=Aimeos Introduction Package
- TYPO3_INSTALL_SITE_SETUP_TYPE=no
- TYPO3_INSTALL_WEB_SERVER_CONFIG=apache
# TYPO3 Testing Framework support
- typo3DatabaseHost=db
- typo3DatabaseName=t3func
- typo3DatabasePassword=root
- typo3DatabaseUsername=root
Remove the typo3-cms-scripts
and add Aimeos\\Aimeos\\Custom\\Composer::install
to post-autoload-dump
in the composer.json
.
ddev start
ddev composer config sort-packages true
ddev composer remove typo3/cms-fluid-styled-content --no-update
ddev composer require typo3-console/composer-auto-commands --no-update
ddev composer require "typo3-console/composer-typo3-auto-install:^0.3.1" --dev
ddev composer require aimeos/aimeos-typo3-dist
ddev composer "require aimeos/aimeos-typo3:^19.10.9"
ddev launch typo3
Enter the defined credentials admin
and password
to login to the TYPO3 Backend.
See also the resulting composer.json attached here.