Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 1.32 KB

PROJECT-TYPO3.md

File metadata and controls

52 lines (32 loc) · 1.32 KB

<-- Back to main section

Running TYPO3

Create TYPO3 project

For the first TYPO3 setup:

make create typo3

or (make sure composer is installed)

rm -f app/.gitkeep
composer create-project typo3/cms-base-distribution app/
touch app/web/FIRST_INSTALL app/.gitkeep

Open http://localhost:8000 and follow installation wizard.

When asked for database setup, use the settings from the services documentation or see your etc/environment.yml. Make sure to set the correct database-host ('mysql' by default).

Feel free to modify your TYPO3 installation in your app/ (a shared folder of Docker), most of the time there is no need to enter any Docker container.

TYPO3 cli runner

You can run one-shot command inside the app service container:

docker-compose run --rm app web/typo3/cli_dispatch.phpsh extbase
# or simply:
docker-compose run --rm app cli extbase   # cli refers to CLI_SCRIPT env in etc/environment.yml

docker-compose run --rm app bash

Error: Trusted Host pattern

Set in web/typo3conf/LocalConfiguration.php:

'SYS' => array(
    [ ... ],
    'trustedHostsPattern' => '.*',
),

Should not be needed on Apache HTTPd.