jupyterhub.rst 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. .. _jupyterhub:
  2. JupyterLab on JupyterHub
  3. ========================
  4. JupyterLab works out of the box with JupyterHub 1.0+, and can even run side by side
  5. with the classic Notebook.
  6. When JupyterLab is deployed with JupyterHub it will show additional menu
  7. items in the File menu that allow the user to log out or go to the JupyterHub
  8. control panel.
  9. Use JupyterLab by Default
  10. -------------------------
  11. If you install JupyterLab on a system running JupyterHub, it will immediately be
  12. available at the ``/lab`` URL, but users will still be directed to the classic
  13. Notebook (``/tree``) by default. To change the user's default user interface to
  14. JupyterLab, set the following configuration option in your
  15. :file:`jupyterhub_config.py` file::
  16. c.Spawner.cmd=["jupyter-labhub"]
  17. In this configuration, users can still access the classic Notebook at ``/tree``,
  18. by either typing that URL into the browser, or by using the "Launch Classic
  19. Notebook" item in JupyterLab's Help menu.
  20. Example Configuration
  21. ---------------------
  22. For a fully-configured example of using JupyterLab with JupyterHub, see
  23. the `jupyterhub-deploy-teaching
  24. <https://github.com/jupyterhub/jupyterhub-deploy-teaching>`__ repository.