use uWSGI for justpy web deployment -- possible? #447
Replies: 3 comments
-
JustPy requires a server that supports ASGI as it based on Starlette: https://www.starlette.io/ |
Beta Was this translation helpful? Give feedback.
-
I have had success using Centos, pipenv, apache, and systemctl services. I'm willing to send you my configurations if you would like help getting a production environment setup, for example, here is the Apache config, just let me know what else you need:
|
Beta Was this translation helpful? Give feedback.
-
Spend fair part of the day figuring out the various web deployment stacks. Long story short, i think if I can make Starlette app run in the same context as shown in this SO answer then I think I plug this in uWSGI framework. Otherwise i have to give up on httpd/uwsgi stack and move to nginx+gunicorn which is not preferred. The key part of that SO answer is
For the |
Beta Was this translation helpful? Give feedback.
-
There are too many web deployment framework and I am bit confused about which to use and which one is suitable. For various reasons, I settled on httpd(OpenBSD) and uWSGI. I tried uWSGI (with gevent support) but it seems to be not compatible with justpy.
I get error
Is it possible to deploy justpy using uWSGI. It does seem to have async support. Is the use of uvicorn necessary? My understanding in web deployment is bit limited, so any pointers, suggestions, clarification would be great.
Thanks
-S
Beta Was this translation helpful? Give feedback.
All reactions