~jgart/binderlite

Launching Jupyter Notebooks in GNU Guix Containers
Add dev manifest
Update direnv instructions
Mention direnv in README

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~jgart/binderlite
read/write
git@git.sr.ht:~jgart/binderlite

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

#Binderlite

#Dependencies

  • Flask 2.0
  • GitPython
  • Jinja2
  • notebook
  • Python 3.8.2
  • yaspin

#Starting a development server with GNU Guix and GuixRUS channel

Add GuixRUS to your channels.scm and run guix pull.

guix environment -m requirements.scm -- flask run

Visit localhost:5000 in your web browser.

#Development with direnv

You can install direnv with guix.

guix install direnv.

Add the following to your .bashrc:

eval "$(direnv hook bash)"

With direnv you can just cd into the project directory and the requirements.scm manifest file will be automatically sourced.

You might have to run direnv allow first.

#TODO

  • Updgrade Flask to 2.0 in GNU Guix. http://issues.guix.gnu.org/50213
  • Add css styling and html meta headers.
  • Add favicon.
  • Cull container after a period of inactivity.
  • Add xtermjs component while waiting.