Setup Drupal 9 with acquia BLT 12

Setup Drupal 9 with Acquia BLT 12:

First we will create a drupal 9 project with recommended template, using below command.


  $ drupal/recommended-project blt-drupal --no-install
  

This will create a project with name blt-drupal, since acquia BLT require a document root to be docroot, so lets update the project's composer.json file accordingly.

Open composer.json and replace the occurrence of web to dcroot

Now cd into project folder and add acquia/blt into the project


  $ cd blt-drupal
  $ composer require acquia/blt
  

Update your database credentials in local.settings.php

Finally run:


  blt setup
  

We are all set to use the site

Comments

Popular posts from this blog

How to setup Drupal 8 Multisite on nginx webserver with different domain.

Install drush globally using composer on WSL

Drupal views create exposed filter programmatically