To run multiple apps, there are two options:
1) Run each app on a different server instances (on different ports):
bokeh serve \-\-port 5000 foo\.py bokeh serve --port 5001 bar.py
2) Run all the apps on a single server (by passing every app script or directory on the same command line):
$ bokeh serve foo.py bar.py
As an example, all of the running demos on http://demo.bokehplots.com/ are deployed in this second fashion.
On May 14, 2016, at 4:35 AM, [email protected] wrote:
I used python3 to scripts myapp [ python code: curdoc().add_root(mylayout)]
and then run the bokeh server(11.0) to show it [bokeh serve --show myapp.py]
Actually everything seems corrcet,
but if I want to run more apps in one bokeh server under local area network,
how do I write python code in *.py?
and then using what's kind of server cmd to run those??
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/d965d596-a5ae-4c27-8adb-69b39cdc2f0c%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.