Skip to content

Commit

Permalink
[TASK] [Backport] Remove deprecated ddev "--create-docroot" option #364
Browse files Browse the repository at this point in the history
  • Loading branch information
garvinhicking committed Mar 15, 2024
1 parent e006baf commit 133bdb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Documentation/Installation/Install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ At the root level of your web server, execute the following command:
# Tell DDEV to create a new project of type "typo3"
# 'docroot' MUST be set to 'public'
# At least PHP 8.1 is required by TYPO3 v12. Adapt the PHP version to your needs.
ddev config --project-type=typo3 --docroot=public --create-docroot --php-version 8.1
ddev config --project-type=typo3 --docroot=public --php-version 8.1
# Start the server
ddev start
Expand Down
7 changes: 1 addition & 6 deletions Documentation/Installation/TutorialDdev.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ of preconfigured projects.
Docroot Location (current directory): public
Create docroot at /home/myuser/projects/t3/t3example/public? [Y/n] (yes): Y
Project Type [php, typo3, ...] (php): typo3
project-type
Expand All @@ -60,14 +58,11 @@ docroot
Is the folder in which all files that have to be reached by
the browser. This folder is commonly called :file:`public`.

create-docroot
As the directory does not exist yet, this allows DDEV to create it for you.

Alternatively you can skip the prompt by supplying all of the required parameters in a single command:

.. code-block:: bash
ddev config --project-type=typo3 --docroot=public --create-docroot --php-version 8.1
ddev config --project-type=typo3 --docroot=public --php-version 8.1
Start the project
-----------------
Expand Down

0 comments on commit 133bdb5

Please sign in to comment.