Skip to content

Commit a85b611

Browse files
ms2adadriendupuis
andauthored
Update DDEV options (#2502)
* Replace usage of deprecated ddev --mutagen-enabled flag * Update port args * Rm unneeded --create-docroot --------- Co-authored-by: Adrien Dupuis <[email protected]>
1 parent 107740d commit a85b611

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/getting_started/install_with_ddev.md

Lines changed: 3 additions & 4 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.
@@ -92,7 +92,7 @@ Now, configure the database connection for your [[= product_name =]] project. De
9292
If you're using macOS or Windows, you might want to enable [Mutagen](https://ddev.readthedocs.io/en/latest/users/install/performance/#mutagen) to improve performance. You can do this by running the following command:
9393

9494
```bash
95-
ddev config --mutagen-enabled
95+
ddev config --performance-mode=mutagen
9696
```
9797

9898
See [DDEV performance documentation](https://ddev.readthedocs.io/en/latest/users/install/performance/) for more.
@@ -103,7 +103,7 @@ By default, DDEV uses ports 80 and 443.
103103
You can [set different ports](https://ddev.readthedocs.io/en/latest/users/usage/troubleshooting/#method-2-fix-port-conflicts-by-configuring-your-project-to-use-different-ports) with a command like the following:
104104

105105
```bash
106-
ddev config --http-port=8080 --https-port=8443
106+
ddev config --router-http-port=8080 --router-https-port=8443
107107
```
108108

109109
### 3. Start DDEV
@@ -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)