Skip to content

Instantly share code, notes, and snippets.

@davidjguru
Last active December 9, 2020 23:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidjguru/a95329e0ec5b084ac0852ad958da2a14 to your computer and use it in GitHub Desktop.
Save davidjguru/a95329e0ec5b084ac0852ad958da2a14 to your computer and use it in GitHub Desktop.
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