Replies: 1 comment
-
Never mind. That is actually all it need at the end of the main.py file. |
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, how should I configure the main.py file to get the "main:app" for going live with nginx,gunicorn, and uvicorn please. The only example you have makes me run the server on unicorn but I don't think i should do that as gunicorn is now supposed to run the app. What do I do after this last line? (at present the webpage says "undefined")
app_path = "." # . for current working directory
mode = "run" # run or edit
app = streamsync.serve.get_asgi_app(app_path,mode)
Beta Was this translation helpful? Give feedback.
All reactions