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.
Action Steps
- Install Lando on your system to get started.
- Create a new Lando project by running `lando init` in your project directory.
- Define a Python service in your `.lando.yml` file, specifying the Python version you want to use.
- Expose the `python` and `pip` command line tools in your `.lando.yml` file for easy access.
- 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)
[](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
5 Add reaction
3 Like 2 Unicorn 0 Exploding Head 0 Raised Hands 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)
[](https://dev.to/jcandan)
[James Candan](https://dev.to/jcandan)
Posted on Feb 12, 2020
32
# 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
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)
[](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
5 Add reaction
3 Like 2 Unicorn 0 Exploding Head 0 Raised Hands 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)
[](https://dev.to/jcandan)
[James Candan](https://dev.to/jcandan)
Posted on Feb 12, 2020
32
# 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
DeepCamp AI