Module Development

Set Up Your Development Environment for Drupal 8, 9, and 10

To follow along with the examples in this guide you'll need to have a copy of the Anytown Farmer's Market site that resembles what you would have if you went through all the chapters in the Drupal User Guide. If you did not follow along with the Drupal User Guide example, or if you need a fresh start, this tutorial will walk you through setting up a copy of the site based on a backup. This guide follows a project-based learning approach, and this setup is essential for ensuring that you can effectively follow along with the subsequent tutorials.

In this tutorial, we'll:

  • Locate the codebase, backup database, and backup public files directory, required to restore a copy of the Anytown Farmer's Market site.
  • Walk through setting up the site in DDEV using the provided backup.

By the end of this tutorial, you should have a working copy of the Anytown Farmer's Market site on your local development environment.

Drupal Module Developer Guide