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:
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-decoupledddev config --project-type=drupal --php-version=8.3 --docroot=webddev startddev composer create drupal/recommended-project:^10ddev config --updateddev composer require drush/drushddev drush site:install minimal --account-name=admin --account-pass=admin -y
mkdir drupal-decoupled && cd drupal-decoupledlando init --source cwd --recipe drupal10 --webroot=web --name=drupal-decoupled -ylando composer create-project drupal/recommended-project:^10 tmp && cp -r tmp/. . && rm -rf tmplando startlando composer require drush/drushlando drush site:install minimal --db-url=mysql://drupal10:drupal10@database/drupal10 --account-name=admin --account-pass=admin -y