# ROOT notebook (c++) with Github codespaces

**URL:** <https://root-forum.cern.ch/t/root-notebook-c-with-github-codespaces/58175>\
**Category:** ROOT\
**Tags:** docker, jupyter\
**Created:** [February 15, 2024, 9:46am UTC](https://root-forum.cern.ch/t/root-notebook-c-with-github-codespaces/58175 "2024-02-15T09:46:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexandr\_Prozorov](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/alexandr_prozorov/32/35702_2.png) [@Alexandr\_Prozorov](https://root-forum.cern.ch/u/Alexandr_Prozorov)\
**Post date:** [February 15, 2024, 9:46am UTC](https://root-forum.cern.ch/t/root-notebook-c-with-github-codespaces/58175/1 "2024-02-15T09:46:54Z")

</div>

Hi all,

I am trying to make [a workshop](https://github.com/aprozo/cernroot_training) with ROOT notebooks (cpp flavour) and make it run in Github codespaces, however, [docker-examples](https://github.com/root-project/docker-examples) does not provide such a configuration to be run in Github codespaces. As a starting example I have used [software-carpentry workshop](https://github.com/root-project/software-carpentry/), however in order to run jupyter server, a user have to execute some commands like `root --notebook --allow-root`, then paste a localhost address into vs code existing jupyter kernel, which is a bit cumbersome.

Best would be if VS code could pick up ROOT C++ kernel and run it by itself just like I am used on my own laptop.  
a hint that could help VS code to find is is  
`cp -r $ROOTSYS/etc/notebook/kernels/root ~/.local/share/jupyter/kernels`

Cheers, Sasha

---

<div class="post-metadata">

**Author:** ![mczurylo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/mczurylo/32/33269_2.png) [@mczurylo](https://root-forum.cern.ch/u/mczurylo)\
**Post date:** [February 15, 2024, 2:50pm UTC](https://root-forum.cern.ch/t/root-notebook-c-with-github-codespaces/58175/2 "2024-02-15T14:50:34Z")

</div>

Hi @Alexandr_Prozorov,

thanks for your question, it’s super nice you’re organising a workshop with ROOT!

Let’s ask @vpadulan for a hint here.

Cheers,  
Marta

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [February 29, 2024, 2:51pm UTC](https://root-forum.cern.ch/t/root-notebook-c-with-github-codespaces/58175/3 "2024-02-29T14:51:15Z")

</div>

Closed on February 29, 2024, 2:51pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
