Created
February 3, 2023 15:31
-
-
Save vergissberlin/6127e67b1766146349013b501f8c7f92 to your computer and use it in GitHub Desktop.
Start new TYPO3 CMS with ddev and introduction package. Run it with `sh rollup.sh 11` to install TYPO3 in version 11
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
mkdir -p typo3-${1:-11}&&\ | |
cd typo3-${1:-11} &&\ | |
ddev config --project-type=typo3 --docroot=public --create-docroot &&\ | |
ddev config --php-version 8.1 &&\ | |
ddev composer create "typo3/cms-base-distribution:^${1:-11}" &&\ | |
ddev exec touch public/FIRST_INSTALL &&\ | |
ddev start &&\ | |
ddev typo3cms install:setup \ | |
--force \ | |
--no-interaction \ | |
--skip-integrity-check \ | |
--database-driver=mysqli \ | |
--database-socket="" \ | |
--database-user-name=db \ | |
--database-user-password=db \ | |
--database-host-name=ddev-t3-cli-install-db \ | |
--database-port=3306 \ | |
--database-name=db \ | |
--use-existing-database \ | |
--admin-user-name=admin \ | |
--admin-password=admin123 \ | |
--site-setup-type=no \ | |
--site-base-url="/" \ | |
--site-setup-type="no" \ | |
--web-server-config="apache" \ | |
--site-name="Introduction ${1:-11}" &&\ | |
ddev composer require typo3/cms-introduction -W --prefer-install=source &&\ | |
ddev typo3 extension:setup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sh rollup.sh 10
to install TYPO3 in version 10.sh rollup.sh 11
to install TYPO3 in version 11.sh rollup.sh 12
to install TYPO3 in version 12.