How to change the default thebelab template to use one which run a local Jupyter kernel ? #250
Unanswered
NIDS2020-instructor
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
The Jupyter book seems like a fantastic project, and I would like to use it to run on a local VM (each student is using her/his own VM). I would be very interested in suggestions on which parameters to change for this use. To start with, i identified two things which would be very useful.
The first thing is to change the way
thebelabis used so that it connects to a locally running kernel. Thanks to this git issue, i found out that thethebelabscript needed in all html pages is:However i do not know how i should configure my project so that:
thebelabscript is changed to the one above in all html pageskernel_urlandkernel_tokenparameterskernel_nameso that not to havepython3hardcodedThe second thing which would be very useful, is to remedy the issue of not having any of the great autocompletion features, etc. available in Jupyter notebooks when using
thebelab, by also having the choice to open the Jupyter notebook of the current page in a new tab. So what one should do if a local kernel is running (and working fine withthebelabas detailed above) to also have the option to run a classic Jupyter Notebook in a new tab using the locally running kernel if the student would like all the nice features offered by notebook when editing code ?Any help on these two aspects would be very welcome.
Please note that after writing this post, i also created an issue here as i am not sure where this post belongs.
All reactions