Skip to content

Commit c1e53b3

Browse files
committed
install_with_ddev.md: Rm unneeded --create-docroot
Flag --create-docroot has been deprecated, --create-docroot flag is no longer required
1 parent 1fc985e commit c1e53b3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/getting_started/install_with_ddev.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ mkdir my-ddev-project && cd my-ddev-project
3131
Next, configure your DDEV environment with the following command:
3232

3333
```bash
34-
ddev config --project-type=php --php-version 8.1 --nodejs-version 18 --docroot=public --create-docroot
34+
ddev config --project-type=php --php-version 8.1 --nodejs-version 18 --docroot=public
3535
```
3636

3737
This command sets the project type to PHP, the PHP version to 8.1, the document root to `public` directory, and creates the document root.
@@ -401,7 +401,6 @@ Some DDEV configs can be shared among developers. For example, a common `.ddev/c
401401
Compared to running a clean install like described in [Installation steps](#installation), you can proceed as follows:
402402

403403
- In [1. Create a DDEV project directory](#1-create-a-ddev-project-directory), you can use an existing directory that contains an [[= product_name =]] project instead of creating an empty directory.
404-
- In [2. Configure DDEV / Configure PHP version and document root](#configure-php-version-and-document-root), don't create the Document root, remove the `--create-docroot` option.
405404
- In [5. Create [[= product_name =]] project](#5-create-project), use only `ddev composer install` instead of `ddev composer create`.
406405
- Populate the database with [Ibexa data migration](importing_data.md) or [`ddev import-db`](https://ddev.readthedocs.io/en/latest/users/usage/commands/#import-db).
407406

0 commit comments

Comments
 (0)