Skip to content

Plugin for The Littlest JupyterHub (TLJH) that creates a shared-directory and installs Voila

License

Notifications You must be signed in to change notification settings

kafonek/tljh-shared-directory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tljh-shared-directory

tljh-shared-directory is a plugin for The Littlest JupyterHub (TLJH) which sets up a 'shared directory' for the Hub in /srv/scratch. The /srv/scratch shared directory is used to 'publish' notebooks internally within the Hub. E.g. if there are three users, then User A may develop a Notebook in their /home/user_a directory and when it is complete copy it to /srv/scratch (symlinked in every user's home) so that User B and User C can see the Notebook. However, only User A is able to make further changes to it.

Shared directories go hand-in-hand with Dashboarding apps like Voila or Panel. User A copies a Notebook into the /srv/scratch directory, then other users can view that Notebook as a Dashboard.

Install

Include --plugin tljh-shared-directory in your TLJH install script. An example install with admin user kafonek would be:

#!/bin/bash
curl https://raw.githubusercontent.com/jupyterhub/the-littlest-jupyterhub/master/bootstrap/bootstrap.py \
  | sudo python3 - \
    --admin kafonek --plugin git+https://github.com/kafonek/tljh-shared-directory

About

Plugin for The Littlest JupyterHub (TLJH) that creates a shared-directory and installs Voila

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages