
Hi,
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 https://demo.bokeh.org/ are deployed in this second fashion.
Thanks,
Bryan
···
On May 14, 2016, at 4:35 AM, stevevai.wu@gmail.com wrote:
Dear all:
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 bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
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\.
