Installing Drupal with composer and DDEV

I always come back to search for this tweet I wrote some time ago, which I find extremely useful to install Drupal using composer and the excellent DDEV tool:

Installing #Drupal in seconds with DDEV and Composer

0. export SITE_NAME=mycoolsitename

1. composer create-project drupal-composer/drupal-project:8.x-dev — stability dev no-interaction $SN

2. ddev config — docroot web — projectname $SN — projecttype drupal8

3. ddev start

4. ddev exec

5. drush site-install — account-name=admin — account-pass=[]

I find it much easier to search in Medium or Google for this. You are welcome :-)

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

No responses yet

Write a response