Skip to content

Commit

Permalink
Merge pull request #114 from ajpikul-com/master
Browse files Browse the repository at this point in the history
Document PATH changes to kernel.json if using hub
  • Loading branch information
yitzchak committed Sep 19, 2023
2 parents e01f529 + 1877b81 commit 7a7a916
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ is installed add common-lisp-jupyter via `(ql:quickload :common-lisp-jupyter)`.
`(ql:update-dist "quicklisp")` inside a `ros run` shell to resolve package
conflicts.

- Add the PATH in the initialization file (such as `~/.bashrc`)
- Add the PATH in the initialization file (such as `~/.bashrc`- if using `jupyter-hub`, see **note** below)
```sh
export PATH=$PATH:~/.roswell/bin
```
Expand All @@ -102,6 +102,18 @@ export PATH=$PATH:~/.roswell/bin
ros install common-lisp-jupyter
```

**note:** if using jupyter-hub's default set-up:
* You must run the `ros install common-lisp-jupyter` command for each user who will use lisp.
* Edit `/home/${USER}/.local/share/jupyter/kernels/common-lisp/kernel.json`, adding:

```json
"env": {
"PATH": "${PATH}:${HOME}/.roswell/bin"
}
```

so that jupyter-lab can find the lisp binaries. Note: `~/.roswell/bin` will not expand properly.

### Running common-lisp-jupyter

common-lisp-jupyter may be run from a local installation in console mode by the
Expand Down

0 comments on commit 7a7a916

Please sign in to comment.