Install
Requirements
Section titled “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
Section titled “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=drupal11 --docroot=webddev startddev composer create drupal/recommended-project:^11ddev config --updateddev composer require drush/drushddev drush site:install minimal --account-name=admin --account-pass=admin -ymkdir drupal-decoupled && cd drupal-decoupledlando init --source cwd --recipe drupal11 --webroot=web --name=drupal-decoupled -ylando startlando composer create-project drupal/recommended-project:^11 tmp && cp -r tmp/. . && rm -rf tmplando composer require drush/drushlando drush site:install minimal --db-url=mysql://drupal11:drupal11@database/drupal11 --account-name=admin --account-pass=admin -y