☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

How to run a bokeh server and flask app from a single python file?

Community Supportflaskserver
Umang_Garg
Umang_Garg

I have a bokeh server in which some visualizations are created. The bokeh server is running from the file models.py. Further, a bokeh server is embedded using flask’s server_document module in the file app.py. Is there a way by which I can run both the bokeh server and the flask webapp from a single python file so that I don’t have to create 2 files and it’s easier to deploy on cloud?

⌁   Link to post

End of archived discussion · Replies are disabled