Last active
December 14, 2019 10:44
-
-
Save gilbertsoft/1ecb154d2b3efcdfd3b7057675106c06 to your computer and use it in GitHub Desktop.
Install TYPO3 8.7 Legacy with DDEV Local
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 | |
cat << EOF > .ddev/docker-compose.tempfs.yaml | |
version: '3.6' | |
services: | |
web: | |
volumes: | |
- type: tmpfs | |
target: /var/www/html/public/typo3temp/var/Cache | |
tmpfs: | |
size: 268435456 | |
EOF | |
ddev start | |
ddev exec curl -L -o typo3_src-8.7.29.tar.gz https://get.typo3.org/8.7.29/tar.gz | |
ddev exec tar xzf typo3_src-8.7.29.tar.gz | |
ddev exec curl -L -o typo3_src-9.5.11.tar.gz https://get.typo3.org/9.5.11/tar.gz | |
ddev exec tar xzf typo3_src-9.5.11.tar.gz | |
ddev exec "cd public && ln -s ../typo3_src-8.7.29 typo3_src && ln -s typo3_src/index.php index.php && ln -s typo3_src/typo3 typo3" | |
ddev exec touch public/FIRST_INSTALL | |
ddev restart | |
ddev launch typo3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment