question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Clarify process for working on BokehJS locally

See original GitHub issue

Is your feature request related to a problem? Please describe. When developing locally, including changes to BokehJS, the env var BOKEH_RESOURCES needs to be set to inline for the local js to be used and changes to show up.

This env var can be seen in an example in the Developer Guide under “Next Steps,” but I am proposing moving it up, explaining what it does, and making it clear that it’s necessary when making JS changes.

I got bitten by this this weekend. 😃 I also heard it came up in the most recent sprints, but I don’t know much more about that (cc @pavithraes ?).

Describe the solution you’d like A description of the purpose and effect of BOKEH_RESOURCES=inline probably under the “Building and Installing” section of the Developer Guide (at least).

Describe alternatives you’ve considered n/a

Additional context cc @tcmetzger @bryevdv

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tcmetzgercommented, Aug 16, 2021

As suggested by @bryevdv, there is now a more detailed paragraph in the dev docs PR (#11513, setup.rst) explaining absolute-dev, inline, and server-dev.

1reaction
mattpapcommented, Nov 16, 2020

One should also consider https://docs.bokeh.org/en/latest/docs/dev_guide/bokehjs.html for any long term “working on bokehjs”, though that focuses only on bokehjs development experience, independent of the client setup (e.g. Python vs Scala, etc.), though bokehjs is still biased towards Python (e.g. defaults’ tests).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Contributing to BokehJS — Bokeh 2.4.1 Documentation
BokehJS is the in-browser client-side runtime library that users of Bokeh ... To learn more about running tests for BokehJS locally, see Run...
Read more >
How to connect holoviews in backend with bokehjs frontend
I need a way to have a "live python process running" as documentation states so I can have zoom controls and tooltips. But...
Read more >
[BUG] notebook_url for running behind JupyterHub ... - GitHub
Following intructions for Bokeh to work behind JupyterHub with jupyter-server-proxy at https://docs.bokeh.org/en/latest/docs/user_guide/jupyter.
Read more >
Plotting Bokeh, an Analysis of its Architectural Variables
According with the definition of Kruchten, the process view takes into ... due to the fact Bokeh and BokehJS work on top of...
Read more >
Bokeh 2.4.2 - FreshFOSS
#9924 component: server regression django server resources are not working. - #9953 component: bokehjs race condition between legend and glyph when using ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found