Create local drupal 9 environment via Lando

 Lando is opensource image runner to build and use virtual hosting in local machines. 


Requirements: 

  • Lando
  • Docker

Lando: Install lando as per the docs here.

Docker: Please follow the lando docs, docker should be installed automatically. There may be some dependency on Microsoft Dot net Framework 3.5. install it manually 

First create a directory in your Computer: 

Example Directory: E:\Web\eduvai

Create the lando yml file:

    filename: .lando.yml

    file contents: https://github.com/mahsandu/lando-drupal9/blob/main/.lando.yml

Open command line interface and type lando rebuild.

Import existing DB: 

lando db-import eduvai.sql.gz --host drupal_db

Examples from eduvai.com development. 




Comments

Popular posts from this blog

Enable Theme Debug in Drupal 9

Remove drupal 9 extensions from database

PHP redirect from http to https and www to non-www in Drupal 9