Set up a local development environment using DDEV to serve the application and Composer to download the required files.
Section 3.2, “Concept: Server Requirements” Section 3.6, “Using Composer to Download and Update Files”
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.
- 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 launch
from the directory created in the previous step to open the site in your web browser and confirm the environment is working correctly.
Attributions
Written and edited by Joe Shindelar at Drupalize.Me.