jupyter-lab

How to init content of notebooks / working directory in Jupyterhub/Jupyterlab?

回眸只為那壹抹淺笑 提交于 2020-11-29 03:51:29
问题 If I create a new user in JupyterHub I want that the working directory of the corresponding JupyterLab instance is initialized with some getting started examples: I already installed the git extension for Jupyterlab. Is there a way to automatically clone a git repository for new users? Here is the doc on Spawners: https://jupyterhub.readthedocs.io/en/stable/reference/spawners.html I could find a hint on workspace initialization. 回答1: The Spawner provides some hook functions in the