Skip to content

Commit e1f1037

Browse files
[TASK] Adapt DDEV instructions to use apache-fpm and locales-all (#375)
* [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
1 parent beb6c42 commit e1f1037

File tree

2 files changed

+23
-19
lines changed

2 files changed

+23
-19
lines changed

Documentation/Appendix/SettingUpTypo3Ddev.rst

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,21 +78,25 @@ or edit the configuration file :file:`.ddev/config.yaml` manually.
7878
.. code-block:: shell
7979
8080
# Set correct PHP version:
81-
ddev config --php-version="8.2"
81+
ddev config --php-version='8.2'
82+
83+
# Change to Apache webserver because using htaccess rules works out of the TYPO3-box
84+
# and needs no custom NGINX configuration
85+
ddev config --webserver-type='apache-fpm'
8286
8387
# Add necessary packages for the npm build process,
8488
# (only needed if you are working on assets):
85-
ddev config --nodejs-version="22"
86-
ddev config --webimage-extra-packages="automake,build-essential"
89+
ddev config --nodejs-version='22'
90+
ddev config --webimage-extra-packages='automake,build-essential,locales-all'
8791
8892
Optionally, set a new HTTP/HTTPS port to avoid conflicts with local defaults.
8993
Error message:
9094
Failed to start t3coredev: Unable to listen on required ports, port 80 is already in use,
9195

9296
.. code-block:: yaml
9397
94-
ddev config --router-http-port="8090"
95-
ddev config --router-https-port="8443"
98+
ddev config --router-http-port='8090'
99+
ddev config --router-https-port='8443'
96100
97101
Start DDEV
98102
==========

Documentation/Quickstart/4-DDEV.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,23 @@ Quick Start: Set up DDEV
2222
:caption: **Create a suitable ddev configuration**
2323
2424
ddev config \
25-
--project-name 't3c-main' \
26-
--project-type 'typo3' \
27-
--docroot '.' \
28-
--database 'mariadb:10.11' \
29-
--php-version '8.2' \
30-
--composer-version 'stable' \
31-
--nodejs-version '22' \
25+
--project-name='t3c-main' \
26+
--project-type='typo3' \
27+
--docroot='.' \
28+
--database='mariadb:10.11' \
29+
--php-version='8.2' \
30+
--composer-version='stable' \
31+
--nodejs-version='22' \
3232
\
33-
--project-tld 'ddev.site' \
34-
--router-http-port '80' \
35-
--router-https-port '443' \
36-
--webserver-type 'apache-fpm' \
37-
--additional-hostnames 't3c-dev.ddev.site,t3c-prod.ddev.site' \
33+
--project-tld='ddev.site' \
34+
--router-http-port='80' \
35+
--router-https-port='443' \
36+
--webserver-type='apache-fpm' \
37+
--additional-hostnames='t3c-dev.ddev.site,t3c-prod.ddev.site' \
3838
\
39-
--timezone 'Europe/Berlin' \
39+
--timezone='Europe/Berlin' \
4040
--web-environment='TYPO3_CONTEXT=Development' \
41-
--webimage-extra-packages='build-essential'
41+
--webimage-extra-packages='build-essential,locales-all'
4242
4343
Adapt parameters as wanted.
4444

0 commit comments

Comments
 (0)