Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Adapt DDEV instructions to use apache-fpm and locales-all #375

Merged
merged 3 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
2 changes: 1 addition & 1 deletion Documentation/HandlingIssues/TicketWorkflow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ Status

The upside: The patch that has been made may apply to your own instance.
You can always download patches and apply them locally, see
:ref:`Applying Core patches <t3upgrade:applying-core-patches>` for details.
:ref:`Applying Core patches <t3coreapi:applying-core-patches>` for details.

#. Closed

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