Quick Start: Set up TYPO3¶
Note
Ensure that your current working directory is the one
used in previous steps, here cd $HOME/
.
-
Perform
composer
installNote that we encourage to use the TYPO3 Core
run
runner, and thus do not use a local or DDEVTests. sh composer
command directly:Install composer dependencies using default php version./Build/Scripts/runTests.sh -s composerInstall
Copied!Bear in mind: Even though we use
composer
to install dependencies, the resulting TYPO3 installation will be in Legacy mode, not Composer-Mode. This is still how TYPO3 performs most of its core testing and development. -
Set up TYPO3 database
Note that we perform the setup using the automatable TYPO3 Console, not the Web GUI. All command options use the DDEV configuration conventions, (
db:
), you do not need to adapt this.db@db Setup the instance using the TYPO3 setup commandddev exec touch FIRST_INSTALL && \ ddev typo3 setup \ --driver=mysqli \ --host=db \ --port=3306 \ --dbname=db \ --username=db \ --password=db \ --admin-username=john-doe \ --admin-user-password='John-Doe-1701D.' \ --admin-email="john.doe@example.com" \ --project-name='TYPO3 Contribution' \ --no-interaction \ --server-type=apache \ --force
Copied!This should result in a message:✓ Congratulations - TYPO3 Setup is done.
Copied! -
Activate
EXT:
styleguide Ensure extension setup and activate required extensions (EXT:styleguide, EXT:indexed_search)ddev typo3 extension:setup && \ ddev typo3 extension:activate indexed_search && \ ddev typo3 extension:activate styleguide
Copied!Setup all default backend user groupsddev typo3 setup:begroups:default --groups=Both
Copied!Create styleguide TCA and FRONTEND page treeddev typo3 styleguide:generate --create -- tca && \ ddev typo3 styleguide:generate --create -- frontend-systemplate
Copied!Which should give this output:[OK] Extension(s) "core, filelist, frontend, impexp, lowlevel, form, extbase, fluid, fluid_styled_content, install, reports, redirects, setup, rte_ckeditor, adminpanel, backend, belog, beuser, dashboard, extensionmanager, felogin, info, seo, sys_note, tstemplate, viewpage" successfully set up. [OK] Activated extension styleguide successfully. [OK] Backend user group(s) created: Editor, Advanced Editor TCA page tree created! Frontend page tree created!
Copied!Note there remain some extensions disabled (
filemetadata
,indexed_
,search linkvalidator
,opendocs
,reactions
,recycler
,scheduler
,webhooks
,workspaces
). If you plan to work on these, activate them similarly, or use the Extension Manager in the TYPO3 Backend.Attention
HINT: Frontend of
EXT:
does not seem to work right now using the new Site Sets feature. Thus thestyleguide EXT:
frontend page tree is installed using thestyleguide Typo
variant. Bear that in mind if you want to work on theScript Template Records Site Sets Feature
. -
Log in to TYPO3
You should now be able to log in to the TYPO3 backend with the username and password as specified above (
john-
) by calling:doe : John- Doe- 1701D. Open up the TYPO3 Backend for the ddev instanceddev launch typo3
Copied!