-
Notifications
You must be signed in to change notification settings - Fork 6
DDEV-documentation: DDEV integration document #455
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
8062b20
d6cf0b4
db33aa1
6d7aa8f
420215a
a9317c9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # Documentation index | ||
|
|
||
| This directory contains project documentation. | ||
|
|
||
| ## Upgrade documentation | ||
|
|
||
| - **[rollout-lando-to-ddev-upgrade.md](rollout-lando-to-ddev-upgrade.md)** - Rollout - Lando to DDEV upgrade |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,168 @@ | ||||||
| # Rollout - Lando to DDEV upgrade | ||||||
|
|
||||||
| This document describes the process of upgrading Lando to DDEV as the local development environment for Wunder’s projects. | ||||||
|
|
||||||
| ## 1. Installing DDEV | ||||||
|
|
||||||
| #### Install DDEV to your machine. Available for both Ubuntu and Apple. | ||||||
|
|
||||||
| As Lando is getting outdated, we’re moving towards DDEV as a better and up-to-date solution for local development. Installing DDEV is a quite straightforward process. This document provides steps on how to install DDEV on your local machine and to integrate old Lando environments into DDEV environments. | ||||||
|
|
||||||
| ### 1.1 DDEV installation for Linux | ||||||
|
|
||||||
| To install DDEV for Ubuntu Debian, follow these steps: | ||||||
|
|
||||||
| ```shell | ||||||
| # Add DDEV’s GPG key to your keyring | ||||||
| sudo sh -c 'echo ""' | ||||||
| sudo apt-get update && sudo apt-get install -y curl | ||||||
| sudo install -m 0755 -d /etc/apt/keyrings | ||||||
| curl -fsSL https://pkg.ddev.com/apt/gpg.key | gpg --dearmor | sudo tee /etc/apt/keyrings/ddev.gpg > /dev/null | ||||||
| sudo chmod a+r /etc/apt/keyrings/ddev.gpg | ||||||
|
|
||||||
| # Add DDEV releases to your package repository | ||||||
| sudo sh -c 'echo ""' | ||||||
| echo "deb [signed-by=/etc/apt/keyrings/ddev.gpg] https://pkg.ddev.com/apt/ * *" | sudo tee /etc/apt/sources.list.d/ddev.list >/dev/null | ||||||
|
|
||||||
| # Update package information and install DDEV | ||||||
| sudo sh -c 'echo ""' | ||||||
| sudo apt-get update && sudo apt-get install -y ddev | ||||||
|
|
||||||
| # One-time initialization of mkcert | ||||||
| mkcert -install | ||||||
| ``` | ||||||
|
|
||||||
| ### 1.2 DDEV installation for Apple | ||||||
|
|
||||||
| To install DDEV for Apple Homebrew, follow these steps: | ||||||
|
|
||||||
| ```shell | ||||||
| # Install DDEV | ||||||
| brew install ddev/ddev/ddev | ||||||
| # One-time initialization of mkcert | ||||||
| mkcert -install | ||||||
| ``` | ||||||
|
|
||||||
| Or alternatively: | ||||||
|
|
||||||
| ```shell | ||||||
| # Download and run the install script | ||||||
| curl -fsSL https://ddev.com/install.sh | bash | ||||||
| ddev start | ||||||
|
||||||
| ddev start |
Outdated
Copilot
AI
Oct 30, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The sentence is grammatically incorrect. 'Ensure the root' should be 'Ensure you're in the root' or 'Locate the root'.
| Setting up the DDEV for your project as a local development environment is a little trickier than the installation. Ensure the root of your actual Drupal project, as depending on the project, it might not be in the actual root of the project, but, e.g., in a subdirectory called `drupal/`. | |
| Setting up the DDEV for your project as a local development environment is a little trickier than the installation. Ensure you're in the root of your actual Drupal project, as depending on the project, it might not be in the actual root of the project, but, e.g., in a subdirectory called `drupal/`. |
Copilot
AI
Oct 30, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This statement is incorrect. The documentation states that ddev launch is the same as lando start, but ddev launch opens a web browser while lando start starts the environment. The correct equivalent to lando start is ddev start, not ddev launch.
| 4. Run `ddev launch` to launch the project in a web browser. This is the same command as `lando start` in Lando environment. | |
| 4. (Optional) Run `ddev launch` to open the project in a web browser. |
Outdated
Copilot
AI
Oct 30, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Placeholder text for images should be replaced with actual images or removed before finalizing the documentation.
| img 2 goes here |
Outdated
Copilot
AI
Oct 30, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Placeholder text for images should be replaced with actual images or removed before finalizing the documentation.
| img 3 goes here |
Outdated
Copilot
AI
Oct 30, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The phrase 'integrate these to DDEV environment' is grammatically incorrect. It should be 'integrate these into the DDEV environment' or 'integrate these with the DDEV environment'.
| In order for you to integrate these to DDEV environment, you just need to copy the sh-files from the lando folder to your DDEV commands folder. Please take a look at the next 2 screenshots from Raisio project: | |
| In order for you to integrate these into the DDEV environment, you just need to copy the sh-files from the lando folder to your DDEV commands folder. Please take a look at the next 2 screenshots from Raisio project: |
Outdated
Copilot
AI
Oct 30, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Placeholder text for images should be replaced with actual images or removed before finalizing the documentation.
| img 4 goes here |
Copilot
AI
Oct 30, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is trailing whitespace at the end of line 159. This should be removed for consistency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These
sudo sh -c 'echo \"\"'commands on lines 17, 24, and 28 appear to serve no functional purpose. They echo empty strings and should be removed to improve clarity and reduce confusion in the installation instructions.