Skip to content

Instantly share code, notes, and snippets.

@vergissberlin
Created February 3, 2023 15:31
Show Gist options
  • Save vergissberlin/6127e67b1766146349013b501f8c7f92 to your computer and use it in GitHub Desktop.
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
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
@vergissberlin
Copy link
Author

vergissberlin commented Feb 3, 2023

  • Run it with sh rollup.sh 10 to install TYPO3 in version 10.
  • Run it with sh rollup.sh 11 to install TYPO3 in version 11.
  • Run it with sh rollup.sh 12 to install TYPO3 in version 12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment