1

I am using bokeh server to publish my graph publicly. I am using multiple bokeh apps embedded within single bokeh server and using a following command to start bokeh server

        bokeh serve bokeh_app1 bokeh_app2 bokeh_app3

This works perfectly for me however I want to host another html page via bokeh server. Can we host html page using bokeh server just like we host html page using apache server? If yes, then how can we do it?

2 Answers 2

2

You can, but I don't know if you should.

Here is at least one way to do it:

You can make a "dummy" bokeh app with a "regular" webpage as index.html in your app templates, and then add it to your bokeh serve command.

Empty myapp/main.py

And use any page you want as myapp/templates/index.html

Sign up to request clarification or add additional context in comments.

3 Comments

Nice Idea. Thanks :)
I have multiple html pages Is there any in such a way that they can be hosted by a single bokeh server?
@AvinashMagar I don't know if that is possible
1

Found another way by setting up a new apache server which will be hosting multiple html pages.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.