Streamline Your Development Workflow with Lando
Are you tired of dealing with inconsistencies in your development environment? Do you struggle with setting up and running projects locally? Lando is here to help. As an abstraction layer for your development environment, Lando standardizes your workflow across all major operating systems, including MacOS, Windows, and Linux.
What is Lando?
Lando is your assistant in developing, running, and automating your project. It allows you to set up configurations in your codebase for services, tooling, and configs, making it easy for team members to pull the repository and start working on the project in an isolated development environment.
How Does Lando Work?
You may have noticed that Lando’s setup process is similar to Docker and its related services. That’s because Lando uses pre-defined recipes to simplify the process of defining Docker containers. Even if your needed Docker container environment is not supported by Lando recipes, you can easily define a container by defining a Lando service, which only exposes necessary configs.
Benefits of Using Lando
By using Lando, you get access to a more simplified process of defining Docker containers, easier setup of custom containers, and the ability to use your own custom Docker compose files. Additionally, Lando provides extra benefits such as SSL handling per container, setting up proxy and custom URLs for each service, simplified build and run steps, CI local setup, and more.
Getting Started with Lando
To get started with Lando, you’ll need to install it on your machine. Make sure your machine meets the requirements, including hardware, operating system, and admin access. Once installed, you can set up Lando for a simple NodeJS web server project.
Configuring Lando
To configure Lando, you’ll need to create a lando.yml
file in the root of your application. This file defines the basic services you need for your application development. You can define the name and base node service, set up build steps, and serve/run the container.
Using SSL with Lando
Lando also allows you to establish a secure HTTPS server for your development environment using a self-signed certificate. You can spin up another service container to handle HTTPS requests, and Lando will handle the certificate and key files for you.
Testing Your Setup
Once you’ve set up Lando, it’s time to test your setup. Imagine you’re a new developer on a team and you want to work on this Node server repository. All you have to do is pull the repository, install Lando on your machine, and run lando start
to get started.
Next Steps
Now that you’ve seen how Lando can streamline your development workflow, it’s time to explore more. Read more about Lando recipes and services, add additional ones for different parts of your stack, and consider optimizing the process of running and building Docker containers with Lando.