From d5f28851b3714f6a63da87c0814087571949a118 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 27 Dec 2022 11:09:24 +0000 Subject: [PATCH] Auto-update README --- README.md | 33 +++++++++++++++++++++++++++++++++ README_fr.md | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/README.md b/README.md index 3438dd0..6746d69 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,39 @@ JupyterLab is the next-generation user interface for Project Jupyter offering al ![Screenshot of JupyterLab](./doc/screenshots/jupyterlab.png) +## Disclaimers / important information + +## Updating configuration files + +Install the new version of the app with: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/jupyterlab_ynh/tree/testing +``` + +Navigate to the installation path (`/opt/jupyterlab` by default), and run : + +```bash +pipenv shell +``` + +You are now in the virtual environment of jupyterlab. You can execute these two commands: + +- To generate the `jupyterhub_config.py` file: + +```bash +jupyterhub --generate-config +``` + +- To generate the `jupyter_notebook_config.py` file: + +```bash +jupyter notebook --generate-config +cp $HOME/.jupyter/jupyter_notebook_config.py ./ +``` + +You can now update the old template files with the new one. + ## Documentation and resources * Official app website: diff --git a/README_fr.md b/README_fr.md index 179a616..8334f5b 100644 --- a/README_fr.md +++ b/README_fr.md @@ -26,6 +26,39 @@ JupyterLab is the next-generation user interface for Project Jupyter offering al ![Capture d'écran de JupyterLab](./doc/screenshots/jupyterlab.png) +## Avertissements / informations importantes + +## Updating configuration files + +Install the new version of the app with: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/jupyterlab_ynh/tree/testing +``` + +Navigate to the installation path (`/opt/jupyterlab` by default), and run : + +```bash +pipenv shell +``` + +You are now in the virtual environment of jupyterlab. You can execute these two commands: + +- To generate the `jupyterhub_config.py` file: + +```bash +jupyterhub --generate-config +``` + +- To generate the `jupyter_notebook_config.py` file: + +```bash +jupyter notebook --generate-config +cp $HOME/.jupyter/jupyter_notebook_config.py ./ +``` + +You can now update the old template files with the new one. + ## Documentations et ressources * Site officiel de l'app :