1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jupyterlab_ynh.git synced 2024-09-03 19:26:35 +02:00
jupyterlab_ynh/doc/ADMIN.md

31 lines
671 B
Markdown
Raw Permalink Normal View History

2022-12-27 12:09:15 +01:00
## 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.