Skip to content

Instantly share code, notes, and snippets.

@gilbertsoft
Created December 12, 2019 14:40
Show Gist options
  • Save gilbertsoft/e4f745f52d83d8596936f774832c1b15 to your computer and use it in GitHub Desktop.
Save gilbertsoft/e4f745f52d83d8596936f774832c1b15 to your computer and use it in GitHub Desktop.
Install TYPO3 Introduction with DDEV Local
#!/bin/bash
ddev config --create-docroot --docroot=public --project-type=typo3
cat << EOF > .ddev/docker-compose.environment.yaml
version: '3.6'
services:
web:
environment:
- TYPO3_CONTEXT=Development
- TYPO3_INSTALL_ADMIN_USER=admin
- TYPO3_INSTALL_ADMIN_PASSWORD=password
- TYPO3_INSTALL_SITE_NAME=TYPO3 Introduction
EOF
ddev start
ddev composer require --sort-packages --optimize-autoloader typo3/minimal:^9.5 typo3-console/composer-auto-commands:* typo3/cms-introduction:*
ddev exec vendor/bin/typo3cms install:setup --no-interaction
ddev launch typo3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment