Skip to content

Commit

Permalink
[TASK] Adapt DDEV instructions to use apache-fpm and locales-all (#375)
Browse files Browse the repository at this point in the history
* [TASK] Adapt DDEV instructions to use apache-fpm and locales-all

* [TASK] Unify using ddev --config-option='config-value'

* [TASK] Fix t3upgrade move to t3coreapi
  • Loading branch information
garvinhicking authored Dec 5, 2024
1 parent beb6c42 commit e1f1037
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 19 deletions.
14 changes: 9 additions & 5 deletions Documentation/Appendix/SettingUpTypo3Ddev.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,21 +78,25 @@ or edit the configuration file :file:`.ddev/config.yaml` manually.
.. code-block:: shell
# Set correct PHP version:
ddev config --php-version="8.2"
ddev config --php-version='8.2'
# Change to Apache webserver because using htaccess rules works out of the TYPO3-box
# and needs no custom NGINX configuration
ddev config --webserver-type='apache-fpm'
# Add necessary packages for the npm build process,
# (only needed if you are working on assets):
ddev config --nodejs-version="22"
ddev config --webimage-extra-packages="automake,build-essential"
ddev config --nodejs-version='22'
ddev config --webimage-extra-packages='automake,build-essential,locales-all'
Optionally, set a new HTTP/HTTPS port to avoid conflicts with local defaults.
Error message:
Failed to start t3coredev: Unable to listen on required ports, port 80 is already in use,

.. code-block:: yaml
ddev config --router-http-port="8090"
ddev config --router-https-port="8443"
ddev config --router-http-port='8090'
ddev config --router-https-port='8443'
Start DDEV
==========
Expand Down
28 changes: 14 additions & 14 deletions Documentation/Quickstart/4-DDEV.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,23 @@ Quick Start: Set up DDEV
:caption: **Create a suitable ddev configuration**
ddev config \
--project-name 't3c-main' \
--project-type 'typo3' \
--docroot '.' \
--database 'mariadb:10.11' \
--php-version '8.2' \
--composer-version 'stable' \
--nodejs-version '22' \
--project-name='t3c-main' \
--project-type='typo3' \
--docroot='.' \
--database='mariadb:10.11' \
--php-version='8.2' \
--composer-version='stable' \
--nodejs-version='22' \
\
--project-tld 'ddev.site' \
--router-http-port '80' \
--router-https-port '443' \
--webserver-type 'apache-fpm' \
--additional-hostnames 't3c-dev.ddev.site,t3c-prod.ddev.site' \
--project-tld='ddev.site' \
--router-http-port='80' \
--router-https-port='443' \
--webserver-type='apache-fpm' \
--additional-hostnames='t3c-dev.ddev.site,t3c-prod.ddev.site' \
\
--timezone 'Europe/Berlin' \
--timezone='Europe/Berlin' \
--web-environment='TYPO3_CONTEXT=Development' \
--webimage-extra-packages='build-essential'
--webimage-extra-packages='build-essential,locales-all'
Adapt parameters as wanted.

Expand Down

0 comments on commit e1f1037

Please sign in to comment.