Setting Up an Environment with DDEV
Goal
Set up a local development environment using DDEV to serve the application and Composer to download the required files.
Prerequisite knowledge
Concept: Server Requirements Using Composer to Download and Update Files
Why use DDEV?
DDEV is a local development environment for PHP applications built on Docker. It includes all the necessary components to run the core software, and is used by many developers in the Drupal community.
Steps
- Follow the official DDEV installation instructions to install DDEV on your local machine. DDEV is available for Windows, Mac, and Linux. The installation process is different for each operating system, so be sure to follow the instructions for your OS.
- After installing DDEV, follow the Drupal Quickstart instructions to download the core software using Composer and install it in the DDEV environment.
- Run the command
ddev launchfrom the directory created in the previous step to open the site in your web browser and confirm the environment is working correctly.
Related topics
Additional resources
这篇文档对你有帮助吗?
谢谢你的反馈!