Slide 1

Slide 1 text

Local Development Env. with Lando PRESENTED BY Girish Panchal

Slide 2

Slide 2 text

Join us on Meetup - Ahmedabad Drupal Meetup 2

Slide 3

Slide 3 text

Join us on Twitter - @AhmedabadDrupal 3

Slide 4

Slide 4 text

Join us on LinkedIn - @drupalahmedabad 4

Slide 5

Slide 5 text

Agenda ● What is Lando? ● How to install Lando locally? ● Lando Architecture and Overview ● Lando Terminology ● Lando Recipes ● Demo 5

Slide 6

Slide 6 text

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.

Slide 7

Slide 7 text

Lando Architecture and Overview ● Docker ● Containers ● Docker compose ● Lando 7

Slide 8

Slide 8 text

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

Slide 9

Slide 9 text

Core language support ● dotnet ● node ● php ● python ● ruby ● go 9

Slide 10

Slide 10 text

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

Slide 11

Slide 11 text

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

Slide 12

Slide 12 text

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

Slide 13

Slide 13 text

Lando Recipes 13 ● Backdrop ● Drupal ● WordPress ● Laravel ● Joomla ● LAMP ● LEMP ● MEAN ● Pantheon ● Platform.sh ● Acquia

Slide 14

Slide 14 text

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

Slide 15

Slide 15 text

Demo - Drupal 9 15

Slide 16

Slide 16 text

Demo - Drupal 9 with Config 16

Slide 17

Slide 17 text

Demo - Drupal 9 with Services 17

Slide 18

Slide 18 text

Demo - Drupal 9 with tooling 18

Slide 19

Slide 19 text

Demo - With all Tools - Drupal 9 19

Slide 20

Slide 20 text

Follow me! 20 LinkedIn Twitter @girishpanchal07 @girishpanchal07

Slide 21

Slide 21 text

21