Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Quick Deploy of a Drupal 9 Site in a local environment using DDEV.
$ mkdir example-drupal && cd example-drupal
$ ddev config --project-type=drupal9 --docroot=web --create-docroot
$ ddev composer create "drupal/recommended-project"
$ ddev composer require drush/drush drupal/admin_toolbar drupal/devel
$ ddev exec drush si --site-name=Example-Drupal --account-name=admin --account-pass=admin -y
$ ddev start && ddev launch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment