Skip to main content

Local Development (DDEV)

Pre-steps

New Git repo:

  1. Initialize new repo
  2. Take care that repo directory is empty, only .git should be there
  3. Run:
    ddev config --project-type=drupal11 --docroot=public_html
    ddev start
    ddev composer create drupal/recommended-project:^11 --no-install
    ddev composer require drush/drush
  4. Update the composer.json file:
    w
    Sources: https://ddev.readthedocs.io/en/stable/users/quickstart/#drupal