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.
|
1 month ago | |
---|---|---|
src | 1 month ago | |
LICENSE | 2 months ago | |
README.md | 1 month ago | |
manifest.scm | 1 month ago | |
nb-hub.asd | 2 months ago | |
run.lisp | 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