Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Local development environment with - Lando

Local development environment with - Lando

The presentation taken by Girish Panchal in the second Drupal meetup on 19 Aug 2023
https://www.meetup.com/ahmedabad-drupal-meetup/events/294822150/

Drupal Ahmedabad

August 19, 2023
Tweet

More Decks by Drupal Ahmedabad

Other Decks in Technology

Transcript

  1. Agenda • What is Lando? • How to install Lando

    locally? • Lando Architecture and Overview • Lando Terminology • Lando Recipes • Demo 5
  2. What is Lando? 6 • It is a open source

    Project • It provides local development environment and DevOps tool built on Docker container technology. • Per app, Single Config file, Containerized everything, local Dev, DevOps tools.
  3. Lando Overview • Simple in the repository’s config file .lando.yml

    • Use Basic Pre configuration Stacks • Add in additional Services like Solr Search • Add in additional Tools like Node • Build and Automation steps like composer • Hosting integration like Pantheon, Platform.sh • Docker composer abstract layer • Cross platform • Local Dev Dependency manager 8
  4. Configurable and Swappable services 10 • Web Server such as

    Apache, Nginx • Databases like MySQL, MongoDB, PgSQL • Programming languages like PHP, JavaScript, Dotnet • Search Engine like Solr, Elasticsearch • Caching tools like Varnish, Memcached, • Mailing tools like, Mailhog
  5. How to install Lando locally? • Operating System - macOS

    11 or later, Windows 10 or later, Linux with kernel version 4.x or higher • Docker Engine - Docker and Docker Compose • Lando - https://github.com/lando/lando/releases To get more information - https://docs.lando.dev/getting-started/installation.html 11
  6. Lando Terminology • Name - It should be Unique way

    to identify your apps. • Recipes - It is a combination of Services, Proxies, and Tooling. • Config - It allows you to set some more important things that your recipe provides. • Proxy - To map arbitrary domain names to an arbitrary ports inside of arbitrary services • Service - There are simple but highly configurable docker containers. They are able to run build steps. • Tooling - It allows user to run arbitrary command or combination of commands. It helps in automations. • Events - It allows user to run arbitrary command before and after certain parts of the lando runtime. 12
  7. Lando Recipes 13 • Backdrop • Drupal • WordPress •

    Laravel • Joomla • LAMP • LEMP • MEAN • Pantheon • Platform.sh • Acquia
  8. Lando - Performance (Excludes) • It excludes directories/files from Docker

    sync to improve performance. • You should expect to have an empty vendor directory on your host but a fully populated one inside each container. 14
  9. 21