Skip to main content

Install

Requirements

A clean Drupal codebase where you should be able to install a minimal Drupal installation. There are a couple of ways to achieve this :

Each of these options has requirements. We encourage you to review their corresponding Getting Started sections.

There are pre-configured project templates for popular Drupal hosting platforms. We strongly recommend starting the setup process besides the local development experience you choose. The recipe apply process should be the same:

info

We will follow as guide a setup using drupal/recommended-project as a template for illustration purposes.

Installing Drupal

The recipe should be applied in a minimal profile Drupal installation, to avoid any conflicts with the configurations from the recipe.

mkdir drupal-decoupled && cd drupal-decoupled
ddev config --project-type=drupal --php-version=8.3 --docroot=web
ddev start
ddev composer create drupal/recommended-project:^10
ddev config --update
ddev composer require drush/drush
ddev drush site:install minimal --account-name=admin --account-pass=admin -y