Local Development (DDEV)
Pre-steps
New Git repo:
- Initialize new repo
- Take care that repo directory is empty, only .git should be there
- 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 - Update the composer.json file:
Sources: https://ddev.readthedocs.io/en/stable/users/quickstart/#drupalw