Bokeh reports

You will need to run a bokeh server in the background in order for the interactive widgets to work and process the events on the fly. In kooplex There are examples here how to create such applications.

The main file that contains the core of the applications, and for which file the server will be looking should be named either main.py or main.ipynb.

Preview of bokeh reports.

It is advisable to test your report before publishining it.

There is a bash file accessible in all user containers: preview-bokeh.sh. In the terminal you jus have to run preview-bokeh.sh Example-hosted-app.ipynb and the first line of the output will similar to this: You can check the result under https://kooplex-edu.elte.hu/notebook/wfct0p-dataexplvisu/report When you click on it it will redirect you to another tab in our browser and reveal the rendered report. If you see only a blank page, then it is possible that you have an error in your notebook. Switch back to the tab in which the terminal runs and check the error message.

If you make any changes in your application (python or ipython file) and save it then you have to stop the bokeh server and restart it to read the newly saved file.