notebook hub microservice
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
jgart 81e7f0bd78 add deployment instructions 1 month ago
src actually call binderlite API on page reload 1 month ago
LICENSE init 2 months ago
README.md add deployment instructions 1 month ago
manifest.scm add missing sbcl-css to manifest 1 month ago
nb-hub.asd add missing dependencies 2 months ago
run.lisp add app runner 1 month ago

README.md

nb-hub

nb-hub makes a request to the binderlite API and renders a web page with the currently running notebooks.

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-hub's dependencies run the following to create an executable binary:

sbcl --load nb-hub.asd --eval '(require :nb-hub)' --eval '(in-package :nb-hub)' --eval "(sb-ext:save-lisp-and-die #p\"nb-hub\" :toplevel #'start :executable t)"

Copy the binary to the server and run it:

chmod +x nb-hub
./nb-hub