Skip to content

Commit

Permalink
copy existing kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Nov 19, 2024
1 parent 1481110 commit bca3c32
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,12 @@ The second option is to create a separate Jupyter kernel for flux. This option r
still it has the advantage that it is also compatible with the multi-user jupyterhub environment. Start by identifying
the directory Jupyter searches for Jupyter kernels:
```
jupyter --paths
jupyter kernelspec list
```
This returns a list of directories commonly `~/.local/share/jupyter` is one of those. It is recommended to create the
flux kernel in this directory. Start by creating the corresponding directory:
This returns a list of jupyter kernels, commonly stored in `~/.local/share/jupyter`. It is recommended to create the
flux kernel in this directory. Start by creating the corresponding directory by copying one of the existing kernels:
```
mkdir -p ~/.local/share/jupyter/kernels/flux
cp -r ~/.local/share/jupyter/kernels/python3 ~/.local/share/jupyter/kernels/flux
```
In the directory a JSON file is created which contains the configuration of the Jupyter Kernel. You can use an editor of
your choice, here we use vi to create the `kernel.json` file:
Expand Down

0 comments on commit bca3c32

Please sign in to comment.