Lando and Flask

📰 Dev.to · James Candan

Learn to use Lando with Flask for simplified local development, and discover how to set up a Lando project with a Python service.

intermediate Published 12 Feb 2020
Action Steps
  1. Install Lando on your system to get started.
  2. Create a new Lando project by running `lando init` in your project directory.
  3. Define a Python service in your `.lando.yml` file, specifying the Python version you want to use.
  4. Expose the `python` and `pip` command line tools in your `.lando.yml` file for easy access.
  5. Start your Lando project with `lando start` to begin developing your Flask application.
Who Needs to Know This

Developers who work with Flask and want to streamline their local development process can benefit from using Lando, which simplifies Docker container management.

Key Insight

💡 Lando provides a simple way to manage Docker containers for local development, making it easier to work with Flask and other frameworks.

Share This
🚀 Simplify your local #Flask development with #Lando! 🚀

Key Takeaways

Learn to use Lando with Flask for simplified local development, and discover how to set up a Lando project with a Python service.

Full Article

Title: Lando and Flask

URL Source: https://dev.to/jcandan/lando-and-flask-556j

Published Time: 2020-02-12T14:14:47Z

Markdown Content:
[Skip to content](https://dev.to/jcandan/lando-and-flask-556j#main-content)

[![Image 1: DEV Community](https://media2.dev.to/dynamic/image/quality=100/https://dev-to-uploads.s3.amazonaws.com/uploads/logos/resized_logo_UQww2soKuUsjaOGNB38o.png)](https://dev.to/)

[Powered by Algolia](https://www.algolia.com/developers/?utm_source=devto&utm_medium=referral)

[Log in](https://dev.to/enter?signup_subforem=1)[Create account](https://dev.to/enter?signup_subforem=1&state=new-user)

## DEV Community

![Image 2](https://assets.dev.to/assets/heart-plus-active-9ea3b22f2bc311281db911d416166c5f430636e76b15cd5df6b3b841d830eefa.svg)5 Add reaction

![Image 3](https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg)3 Like ![Image 4](https://assets.dev.to/assets/multi-unicorn-b44d6f8c23cdd00964192bedc38af3e82463978aa611b4365bd33a0f1f4f3e97.svg)2 Unicorn ![Image 5](https://assets.dev.to/assets/exploding-head-daceb38d627e6ae9b730f36a1e390fca556a4289d5a41abb2c35068ad3e2c4b5.svg)0 Exploding Head ![Image 6](https://assets.dev.to/assets/raised-hands-74b2099fd66a39f2d7eed9305ee0f4553df0eb7b4f11b01b6b1b499973048fe5.svg)0 Raised Hands ![Image 7](https://assets.dev.to/assets/fire-f60e7a582391810302117f987b22a8ef04a2fe0df7e3258a5f49332df1cec71e.svg)0 Fire

0 Jump to Comments 1 Save Boost

Copy link

Copied to Clipboard

[Share to X](https://twitter.com/intent/tweet?text=%22Lando%20and%20Flask%22%20by%20James%20Candan%20%23DEVCommunity%20https%3A%2F%2Fdev.to%2Fjcandan%2Flando-and-flask-556j)[Share to LinkedIn](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fdev.to%2Fjcandan%2Flando-and-flask-556j&title=Lando%20and%20Flask&summary=Lando%20is%20a%20Docker%20abstraction%20that%20simplifies%20local%20development.&source=DEV%20Community)[Share to Facebook](https://www.facebook.com/sharer.php?u=https%3A%2F%2Fdev.to%2Fjcandan%2Flando-and-flask-556j)[Share to Mastodon](https://s2f.kytta.dev/?text=https%3A%2F%2Fdev.to%2Fjcandan%2Flando-and-flask-556j)

[Share Post via...](https://dev.to/jcandan/lando-and-flask-556j#)[Report Abuse](https://dev.to/report-abuse)

[![Image 8: James Candan](https://media2.dev.to/dynamic/image/width=50,height=50,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F82224%2F2511c25a-0c2e-46e1-bec1-baddef2c9345.jpeg)](https://dev.to/jcandan)

[James Candan](https://dev.to/jcandan)
Posted on Feb 12, 2020

![Image 9](https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg)3![Image 10](https://assets.dev.to/assets/multi-unicorn-b44d6f8c23cdd00964192bedc38af3e82463978aa611b4365bd33a0f1f4f3e97.svg)2![Image 11](https://assets.dev.to/assets/exploding-head-daceb38d627e6ae9b730f36a1e390fca556a4289d5a41abb2c35068ad3e2c4b5.svg)![Image 12](https://assets.dev.to/assets/raised-hands-74b2099fd66a39f2d7eed9305ee0f4553df0eb7b4f11b01b6b1b499973048fe5.svg)![Image 13](https://assets.dev.to/assets/fire-f60e7a582391810302117f987b22a8ef04a2fe0df7e3258a5f49332df1cec71e.svg)

# Lando and Flask

[#docker](https://dev.to/t/docker)[#lando](https://dev.to/t/lando)[#python](https://dev.to/t/python)[#flask](https://dev.to/t/flask)

## [](https://dev.to/jcandan/lando-and-flask-556j#requirements) Requirements

You'll need Lando installed, and that's it.

## [](https://dev.to/jcandan/lando-and-flask-556j#setting-up-lando) Setting up Lando

Get into your project directory, and get things started with a Lando file.

```
cd my-project
touch .lando.yml
```

Name your Lando project and define a python service.

```
name: flask-example
services:
python:
type: python:3.5
```

Expose `python` and `pip` command line tools.

```
tooling:
pip:
service: python
python:
service: python
```

## [](https://dev.to/jcandan/lando-and-fl
Read full article → ← Back to Reads

Related Videos

AWS, Azure, GCP: The One Thing Every Business Gets Wrong
AWS, Azure, GCP: The One Thing Every Business Gets Wrong
AI Daily
Containers on Amazon ECS with Mama J
Containers on Amazon ECS with Mama J
AWS Developers
How to Open QTR Files (QuickTime Movie)
How to Open QTR Files (QuickTime Movie)
File Extension Geeks
Improving DevOps Security and Efficiency at Cathay with AWS ProServe | Amazon Web Services
Improving DevOps Security and Efficiency at Cathay with AWS ProServe | Amazon Web Services
Amazon Web Services
Kubernetes Observability 101: Metrics, Logs, Dashboards, and Traces
Kubernetes Observability 101: Metrics, Logs, Dashboards, and Traces
Kubesimplify
Do Azure and AWS Have Too Much Power? The EU’s Answer: Maybe So. #cloud #aws #azure
Do Azure and AWS Have Too Much Power? The EU’s Answer: Maybe So. #cloud #aws #azure
Digital Transformation with Eric Kimberling