Replies: 2 comments
-
You should use another server for production deployment: I typically use gunicorn behind nginx, https://flask.palletsprojects.com/en/2.2.x/deploying/gunicorn/ |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi Tomas,
using your sample, I will run: gunicorn -w 4
"TestSAFRS:start_api("127.0.0.1",5000)"
and it fail for "fcntl not found".
…On Fri, Oct 28, 2022 at 3:50 PM Thomas Pollet ***@***.***> wrote:
You should use another server for production deployment:
https://flask.palletsprojects.com/en/2.2.x/server/
I typically use gunicorn behind nginx,
https://flask.palletsprojects.com/en/2.2.x/deploying/gunicorn/
—
Reply to this email directly, view it on GitHub
<#130 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANENUR3SPXI2LAEDJ77JK5DWFQU6VANCNFSM6AAAAAARRLBTU4>
.
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
-
Hi Thomas,
Each time I start the app, it throw this warning in red color:
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
Is there other version of code? or how do I remove this?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions