Creating a New Drupal 11 Project with DDEV

Submitted by ncdevman on
Tags

Creating a New Drupal 11 Project with DDEV

mkdir my-site
cd my-site
ddev config --project-type drupal10 --create-docroot --php-version 8.3 --docroot web
ddev start
ddev composer create drupal/recommended-project -y

(Can also do)
ddev composer create drupal/recommended-project:^11
ddev composer require drush/drush
ddev restart
ddev debug migrate-database mariadb:10.6

ddev drush site:install --account-name=admin --account-pass=admin -y
ddev launch