Hello! My name is Mason and I’ve currently been exploring your beautiful bokeh library. Currently I’ve been working with IPython notebooks, but have recently had my interest piqued by the ease of exporting real-time plotting into dynamic html files through bokeh.
I’m currently running ipython-notebook from an nbserver I have hosted on a VM, which I have been accessing via another machine (my laptop). There was a relatively comprehensive guide to do this, involving creating a nbserver and a certfile to connect, however I have not had as much luck finding one for bokeh.
I can see that this is possible with bokeh given this example: http://107.170.242.157:5010/stocks , however I can’t seem to figure out how to get this up and running (I am pretty new to networking/server hosting, sorry if this is a noob question).
Do you have any suggestions for where I can go to learn this?
Thanks for trying out Bokeh. When you start the bokeh-server, there are some options that let you specify the ip and port you want it to listen on:
--ip IP
The IP address the bokeh server will listen on
--bokeh-port BOKEH_PORT
port for bokeh server
Then, when you are using plotting commands you can send plots to the server with "output_server" which accepts a "url" parameter that you can point to the ip and port you used when you started bokeh-server. The url parameter should look like ""http://server.hostname.or.ip:<bokeh_port>/"
Let me know if you need further help!
Bryan
···
On Jun 6, 2014, at 12:36 PM, Mason DiMarco <[email protected]> wrote:
Hello! My name is Mason and I've currently been exploring your beautiful bokeh library. Currently I've been working with IPython notebooks, but have recently had my interest piqued by the ease of exporting real-time plotting into dynamic html files through bokeh.
I'm currently running ipython-notebook from an nbserver I have hosted on a VM, which I have been accessing via another machine (my laptop). There was a relatively comprehensive guide to do this, involving creating a nbserver and a certfile to connect, however I have not had as much luck finding one for bokeh.
I can see that this is possible with bokeh given this example: http://107.170.242.157:5010/stocks , however I can't seem to figure out how to get this up and running (I am pretty new to networking/server hosting, sorry if this is a noob question).
Do you have any suggestions for where I can go to learn this?
Thanks!
--
Mason DiMarco
Georgia Institute of Technology
College of Computing
it also was suggested that maybe you are also asking about how to run/deploy the bokeh server itself. It is script called "bokeh-server" that you can just run, possibly supplying it with parameters for ip and port, or storage backend, etc. Please let us know if we can provide more information.
Bryan
···
On Jun 6, 2014, at 12:36 PM, Mason DiMarco <[email protected]> wrote:
Hello! My name is Mason and I've currently been exploring your beautiful bokeh library. Currently I've been working with IPython notebooks, but have recently had my interest piqued by the ease of exporting real-time plotting into dynamic html files through bokeh.
I'm currently running ipython-notebook from an nbserver I have hosted on a VM, which I have been accessing via another machine (my laptop). There was a relatively comprehensive guide to do this, involving creating a nbserver and a certfile to connect, however I have not had as much luck finding one for bokeh.
I can see that this is possible with bokeh given this example: http://107.170.242.157:5010/stocks , however I can't seem to figure out how to get this up and running (I am pretty new to networking/server hosting, sorry if this is a noob question).
Do you have any suggestions for where I can go to learn this?
Thanks!
--
Mason DiMarco
Georgia Institute of Technology
College of Computing