~whereiseveryone/nb

launching jupyter notebooks in guix containers

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~whereiseveryone/nb
read/write
git@git.sr.ht:~whereiseveryone/nb

You can also use your local clone with git send-email.

#nb

nb launches jupyter notebooks in a guix container.

#setting up an environment

The following command will source the Guix manifest with all the required dependencies:

guix shell

#deployment

Change the port number in the start function to use a desired port.

sbcl --load run.lisp

#creating an executable

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