mirror of
https://github.com/YunoHost-Apps/jupyterlab_ynh.git
synced 2024-09-03 19:26:35 +02:00
Update DISCLAIMER.md
This commit is contained in:
parent
88f19b9757
commit
3ef81f5d1e
1 changed files with 30 additions and 0 deletions
|
@ -0,0 +1,30 @@
|
||||||
|
## 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.
|
Loading…
Reference in a new issue