init
nb
launches jupyter notebooks in a guix container.
The following command will source the Guix manifest with all the required dependencies:
guix shell
Change the port number in the start
function to use a desired port.
sbcl --load run.lisp
Alternatively, after running guix shell to set up nb's dependencies run the following to create an executable binary:
sbcl --load nb.asd --eval '(require :nb)' --eval '(in-package :nb)' --eval "(sb-ext:save-lisp-and-die #p\"nb\" :toplevel #'start :executable t)"
Copy the binary to the server and run it:
chmod +x nb
./nb