From 187f2e67eb3196cd2216f81534d1d2177bc31144 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Tue, 24 Sep 2024 08:47:03 +0200 Subject: [PATCH 1/3] Replace usage of deprecated ddev --mutagen-enabled flag See https://github.com/ddev/ddev/blob/9c3de4966ba930045e79442299fa2a57e3f9ce4a/cmd/ddev/cmd/config.go#L247-L248, causes info: "Flag --mutagen-enabled has been deprecated, please use --performance-mode instead" --- docs/getting_started/install_with_ddev.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting_started/install_with_ddev.md b/docs/getting_started/install_with_ddev.md index 66a81da84d..c8b1184f1c 100644 --- a/docs/getting_started/install_with_ddev.md +++ b/docs/getting_started/install_with_ddev.md @@ -92,7 +92,7 @@ Now, configure the database connection for your [[= product_name =]] project. De 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: ```bash -ddev config --mutagen-enabled +ddev config --performance-mode=mutagen ``` See [DDEV performance documentation](https://ddev.readthedocs.io/en/latest/users/install/performance/) for more. From 1fc985e4e04bc7213312884ffe05a1ba7bc50622 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Tue, 24 Sep 2024 14:17:05 +0200 Subject: [PATCH 2/3] install_with_ddev.md: Update port args Flag --http-port has been deprecated, --http-port is a deprecated alias for `--router-http-port` Flag --https-port has been deprecated, --https-port is a deprecated alias for `--router-https-port` --- docs/getting_started/install_with_ddev.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting_started/install_with_ddev.md b/docs/getting_started/install_with_ddev.md index c8b1184f1c..e55a4f8b0d 100644 --- a/docs/getting_started/install_with_ddev.md +++ b/docs/getting_started/install_with_ddev.md @@ -103,7 +103,7 @@ By default, DDEV uses ports 80 and 443. 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: ```bash -ddev config --http-port=8080 --https-port=8443 +ddev config --router-http-port=8080 --router-https-port=8443 ``` ### 3. Start DDEV From c1e53b340b94cfffbee76bbdcd0ed0a7acdfcdd6 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Tue, 24 Sep 2024 14:22:49 +0200 Subject: [PATCH 3/3] install_with_ddev.md: Rm unneeded --create-docroot Flag --create-docroot has been deprecated, --create-docroot flag is no longer required --- docs/getting_started/install_with_ddev.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/getting_started/install_with_ddev.md b/docs/getting_started/install_with_ddev.md index e55a4f8b0d..ae7a2103c8 100644 --- a/docs/getting_started/install_with_ddev.md +++ b/docs/getting_started/install_with_ddev.md @@ -31,7 +31,7 @@ mkdir my-ddev-project && cd my-ddev-project Next, configure your DDEV environment with the following command: ```bash -ddev config --project-type=php --php-version 8.1 --nodejs-version 18 --docroot=public --create-docroot +ddev config --project-type=php --php-version 8.1 --nodejs-version 18 --docroot=public ``` 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 Compared to running a clean install like described in [Installation steps](#installation), you can proceed as follows: - 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. -- 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. - In [5. Create [[= product_name =]] project](#5-create-project), use only `ddev composer install` instead of `ddev composer create`. - 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).