Skip to content

Instantly share code, notes, and snippets.

@helhum
Last active January 10, 2023 15:38
Show Gist options
  • Save helhum/b96ad43bb382825eb446 to your computer and use it in GitHub Desktop.
Save helhum/b96ad43bb382825eb446 to your computer and use it in GitHub Desktop.
Unattended TYPO3 7LTS installation (including introduction package)
composer create-project typo3/cms-base-distribution='^7.6.0' my-test-typo3 --no-interaction
cd my-test-typo3/
composer require helhum/typo3-console
# This will only work with PHP < 7 as realurl need PHP 5.x
composer require typo3-ter/introduction
cp web/typo3conf/ext/typo3_console/Scripts/typo3cms .
cp web/typo3conf/ext/bootstrap_package/Configuration/Apache/.htaccess web/
chmod +x typo3cms
./typo3cms install:setup --non-interactive --database-user-name="root" --database-user-password="root" --database-host-name="localhost" --database-port="3306" --database-name="t3_my_test" --admin-user-name="admin" --admin-password="password" --site-name="Auto Install"
./typo3cms database:updateschema '*.*'
./typo3cms extension:install realurl
./typo3cms extension:install bootstrap_package
./typo3cms extension:install introduction
# done
# document root is my-test-typo3/web
@Lefaux
Copy link

Lefaux commented Feb 19, 2016

this is pretty sick :)

@Tuurlijk
Copy link

@stmllr
Copy link

stmllr commented Dec 2, 2016

Why do you explicitly execute database:updateschema on a fresh installation?

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