Are you running "main.py" directly? To take advantage of all the features that directory style apps offer (e.g. templates, static subdirectories, etc) you have to pass the *directory* that contains main.py to "bokeh serve"
I was launching the file directly. Now I can launch the crossfilter example properly.
However I failed to understand why my own apps are launched with a blank background.
Could you please tell me is there anything besides putting a templates folder and a theme file inside the folder with main of the project you need to do in order to launch the app with the selected template?
I can’t find anything in the main.py code of the crossfilter example that point out to the theme selection.
Looking forward to hearing from you!
···
пятница, 11 мая 2018 г., 19:40:14 UTC+3 пользователь Bryan Van de ven написал:
Are you running “main.py” directly? To take advantage of all the features that directory style apps offer (e.g. templates, static subdirectories, etc) you have to pass the directory that contains main.py to “bokeh serve”