I’ve read the documentation for Running a Bokeh Server a couple times and searched the forums and I wasn’t able to find a clean/clear answer for what I’m trying to do. I’m just using the first block of code in the docs for Running a Bokeh Server as my example (that is my running code).
I’d like to run my app using bokeh serve my_app where “my_app” is the directory with my files. I’d like for multiple sessions to all be synced to the same document.
Once all the sessions are synced to the same document I would like to be able to then manually update the document without clients having to restart. My preference would be to be able to do this interactively from IPython in a terminal console (not from a notebook). I played around with bokeh.client for this but I think the documents not being synced was preventing me from making changes which could be seen from all sessions.
There aren't many cases when I would suggest bokeh.client, but his would seem to be one of the few. In that case, there is a separate python process that creates a document an pushes a session for it to a Bokeh server. Then browsers can connect to this session (with an explicit session URL). There ere some examples of using bokeh.client in this way here:
I've read the documentation for Running a Bokeh Server a couple times and searched the forums and I wasn't able to find a clean/clear answer for what I'm trying to do. I'm just using the first block of code in the docs for Running a Bokeh Server as my example (that is my running code).
I'd like to run my app using bokeh serve my_app where "my_app" is the directory with my files. I'd like for multiple sessions to all be synced to the same document.
Once all the sessions are synced to the same document I would like to be able to then manually update the document without clients having to restart. My preference would be to be able to do this interactively from IPython in a terminal console (not from a notebook). I played around with bokeh.client for this but I think the documents not being synced was preventing me from making changes which could be seen from all sessions.