Suggestion to Include “AirFlask” in Flask Documentation – A Tool to deploy flask web apps in production #5728
naitikmundra
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
At first glance its completely unclear how this integrates with
Its unclear how and why anyone should use it and how to use it safely In particular it seems to actively complicate devops/gitops |
Beta Was this translation helpful? Give feedback.
1 reply
-
I agree, I have never been into professional development before, but from
the feedback received, here is how I plan. Here's how you can transition
AirFlask into something *concrete, authentic, secure and easy*:
1. Replace all sudo calls with instructions or checks that guide the user
instead of taking over the system.
2. *Modularize*: Make it plugin-friendly so users can opt into Docker,
secrets, etc.
3. *Add production use cases*: e.g., “Here's how AirFlask fits into a
GitHub Actions + Docker + Gunicorn workflow.”
I think that will make it better and hopefully I can get back to you soon
with this, please share if you have any other feedback.
Thanks and Regards
…On Mon, May 12, 2025 at 6:37 PM David Lord ***@***.***> wrote:
Agreed, looking at the code this does not look like a good/salvageable
idea. It's calling sudo all over the place, which is concerning. This is
absolutely not how anyone should be deploying an application.
—
Reply to this email directly, view it on GitHub
<#5728 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVP4ZWKZL7763IATXE26ON326CMJRAVCNFSM6AAAAAB45BWROCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGMJRHAYTGOI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am Naitik Mundra author and maintainer of an open source python library called AirFlask,
https://pypi.org/project/airflask/
AirFlask is the "Simplest way to host flask web apps in production - Using nginx and gunicorn."
It will be extremely helpful for beginners who want to host their web apps in production, or people who don't wanna deep dive into setting up gunicorn and nginx and just want to build flask apps.
Airflask is an open-source linux based cli python library that automates deployment of flask apps, from optimizing hosting needs relative to server size to managing multiple apps, AirFlask does it all. It handles what kind of gunicorn workers, threads the webapp will require and how many of them, It also handles ssl and domain management with a single command.
The source code and usage tutorial is available at - https://github.com/naitikmundra/AirFlask
If we could discuss the addition of AirFlask to the flask documentation it would be fantastic, and it will definitely make flask deployment in production easier.
Beta Was this translation helpful? Give feedback.
All reactions