Deploying bokeh application onto apache?

I saw some doc about deploying a bokeh app on nginx servers in the upcoming release documentation. I have an apache server and I was hoping for such an option. Is it supported but maybe not documented? I have internal plugins that only works with apache that gives gives me access to users, their email address, etc. Is there a way to deploy onto apache? I just found out that the new version of server is not based on flask anymore but tornado so I’m really trying to see if this is possible before committing time into developing the app with bokeh. Or maybe I can develop a standard flask app and embed the plots / widgets into the template. Suggestions are welcome. Thanks.

Hi Nana!

I saw some doc about deploying a bokeh app on nginx servers in the upcoming release documentation. I have an apache server and I was hoping for such an option. Is it

There is no reason at all it would not work with Bokeh server. My personal experience is with Nginx, not Apache, so that's where the documentation has started. If you have that ability to help build up guidance around deploying Apache + Bokeh, both I and the community would be extremely grateful. :slight_smile:

supported but maybe not documented? I have internal plugins that only works with apache that gives gives me access to users, their email address, etc. Is there a way to deploy onto apache? I just found out that the new version of server is not based on flask anymore but tornado so I'm really trying to see if this is possible before committing time into developing the app with bokeh. Or maybe I can develop a standard flask app and embed the plots / widgets into the template. Suggestions are welcome. Thanks.

Here is a link to a larger example that shows using the Bokeh server with Django, including users, auth, etc:

  https://github.com/bokeh/bokeh-demos/tree/master/happiness

We will have some videos describing this and other demos, and more complete write-ups coming very soon as well. Please understand we are a small team and everyone has been working in overdrive. We are going as fast as we humanly can, and any hnew elp to describe how to use and integrate Bokeh with more tools will be *extremely* appreciated!

Thanks,

Bryan

···

On Jan 6, 2016, at 2:03 PM, Nana Okyere <[email protected]> wrote:

Thanks for your prompt response even on release day. I’m encouraged by your passion and that of your team and the work you put into this. I’ll ding around to see how I can deploy to apache. If successful, I’ll share with the community. Keep up your good work.

Thanks for the kind words!

The first most important task is probably just to set up whatever proxying you need through Apache (I think). An example stanza to configure the server with Nginx is here:

  Bokeh server — Bokeh 3.3.2 Documentation

and information on all the network configuration options is here:

  http://bokeh.pydata.org/en/latest/docs/user_guide/cli.html#network-configuration

Let me know if I can try to answer any other questions!

Bryan

···

On Jan 6, 2016, at 4:02 PM, [email protected] wrote:

Thanks for your prompt response even on release day. I'm encouraged by your passion and that of your team and the work you put into this. I'll ding around to see how I can deploy to apache. If successful, I'll share with the community. Keep up your good work.

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/2e42b04a-3be5-4d8b-8f87-d71e9b43c684%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

Hello.

What would be the way to use Bokeh server from Fask ? How Django do the job ? Is there a splendide example to pay with such as to try using Bikeh from Flask ?

Le 6 janv. 2016 23:07, “Bryan Van de Ven” [email protected] a écrit :

···

Thanks for the kind words!

The first most important task is probably just to set up whatever proxying you need through Apache (I think). An example stanza to configure the server with Nginx is here:

    [http://bokeh.pydata.org/en/latest/docs/user_guide/server.html#reverse-proxying-with-nginx](http://bokeh.pydata.org/en/latest/docs/user_guide/server.html#reverse-proxying-with-nginx)

and information on all the network configuration options is here:

    [http://bokeh.pydata.org/en/latest/docs/user_guide/cli.html#network-configuration](http://bokeh.pydata.org/en/latest/docs/user_guide/cli.html#network-configuration)

Let me know if I can try to answer any other questions!

Bryan

On Jan 6, 2016, at 4:02 PM, [email protected] wrote:

Thanks for your prompt response even on release day. I’m encouraged by your passion and that of your team and the work you put into this. I’ll ding around to see how I can deploy to apache. If successful, I’ll share with the community. Keep up your good work.

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/2e42b04a-3be5-4d8b-8f87-d71e9b43c684%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/66A82D8E-112F-4C97-A2F8-F1DB77298D0D%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Thank you. I’m sure the links will come in handy later. In terms of other questions, it may be a bit general. In a way, I’m trying to decide what to use to recreate a dashboard we have to Tableau. I know flask so I toyed with creating a standard flask app to display a tabular data and use wtf forms to allow user imputs / filtering. That looks horrible and even slower than what we have in Tableau now. So some research brought me to bokeh and its capabilities and I’m really hoping that it fulfills all of what I need to get this dashboard going. It is nothing fancy. On the backend, we have more than 8 million rows of data on an oracle server. Several of the columns on the table will become filters for users to select one and/or multiple options from the distinct possible possibilities. The table (datatable widget, I think) will then be updated as the user interacts/selects from the filters. In the end, this application will be deployed onto one of our linux servers for a user community of up to 2000 people to use.

Tableau is good for some things. This is not one of them. The size of the data + the query to pull some columns are just not implementable in Tableau. So I’ve been tasked to look for alternative ways to server this data to our user community. Performance is essential, and then it has to look good. I’ve followed the quick start guide and looked through some of the initial docs but I haven’t done anything myself yet. But based on my understanding of bokeh, it looks like I can create a standard flask app and embed the visualizations in there or I can use the bokeh server alongside to add with the interactions. I guess I can ask questions as I run into problems along the way. But I’m encouraged by your quick response and the work you guys are putting into this. Looks like this will become what Shiny is for R.

Bryan, do you have a suggestion on the best way too do what I’m trying to accomplish with bokeh considering my last post?

Flask app with embedded plots from bokeh (I can deploy flask app on apache)?

Bokeh app with server deployed on apache directly?

As mentioned before, getting instant feedback by filtering / selecting options is paramount.

Hi Bryan,
Any tutorial video came ? i think videos will make easy to learn these topics.
if there is video kindly provide the links here.
Thank you.