Launching Jupyter Notebooks in GNU Guix Containers
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 04a6eedafa Add docstring for juptyer_running 14 hours ago
bin Make port 8989 default for flask app 1 week ago
docker/nginx Working nginx config! 4 days ago
templates Add milligram styling to notebook url page 3 weeks ago
.dockerignore Docker project directory structure cleanup 4 days ago
.envrc Add set script folder to be seen by direnv 3 weeks ago
.gitignore Update gitignore 1 week ago
LICENSE Change license to LGPL 1 week ago
README.md Remove TODOs from README 4 days ago
app.py Add docstring for juptyer_running 14 hours ago
dev-requirements.scm Update dev-requirements manifest 1 week ago
docker-compose.yml Docker project directory structure cleanup 4 days ago
requirements.scm Add basic spinner library 4 weeks ago
requirements.txt Make sure flask import async support 1 week ago
setup.py Add setup.py file 6 days ago

README.md

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 cd into the project directory and the requirements.scm manifest file will be automatically sourced.

You might have to run direnv allow first.

direnv also makes the project's script folder available in PATH.

Using pip

python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt