mirror of
https://github.com/YunoHost-Apps/jupyterlab_ynh.git
synced 2024-09-03 19:26:35 +02:00
commit
445d2ea62f
6 changed files with 40 additions and 31 deletions
22
README.md
22
README.md
|
@ -5,7 +5,7 @@ It shall NOT be edited by hand.
|
|||
|
||||
# JupyterLab for YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/jupyterlab)  
|
||||
[](https://dash.yunohost.org/appci/app/jupyterlab)  
|
||||
[](https://install-app.yunohost.org/?app=jupyterlab)
|
||||
|
||||
*[Lire ce readme en français.](./README_fr.md)*
|
||||
|
@ -18,31 +18,33 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
JupyterLab is the next-generation user interface for Project Jupyter offering all the familiar building blocks of the classic Jupyter Notebook (notebook, terminal, text editor, file browser, rich outputs, etc.) in a flexible and powerful user interface. JupyterLab will eventually replace the classic Jupyter Notebook.
|
||||
|
||||
|
||||
**Shipped version:** 3.4.2~ynh1
|
||||
**Shipped version:** 3.4.5~ynh1
|
||||
|
||||
|
||||
**Demo:** https://mybinder.org/v2/gh/jupyterlab/jupyterlab-demo/master?urlpath=lab/tree/demo
|
||||
|
||||
## Screenshots
|
||||
|
||||

|
||||

|
||||
|
||||
## Documentation and resources
|
||||
|
||||
* Official app website: https://jupyterlab.readthedocs.io/en/stable/
|
||||
* Official admin documentation: https://jupyterlab.readthedocs.io/en/stable/
|
||||
* Upstream app code repository: https://github.com/jupyterhub/jupyterhub
|
||||
* YunoHost documentation for this app: https://yunohost.org/app_jupyterlab
|
||||
* Report a bug: https://github.com/YunoHost-Apps/jupyterlab_ynh/issues
|
||||
* Official app website: <https://jupyter.org>
|
||||
* Official admin documentation: <https://jupyterlab.readthedocs.io/en/stable/>
|
||||
* Upstream app code repository: <https://github.com/jupyterhub/jupyterhub>
|
||||
* YunoHost documentation for this app: <https://yunohost.org/app_jupyterlab>
|
||||
* Report a bug: <https://github.com/YunoHost-Apps/jupyterlab_ynh/issues>
|
||||
|
||||
## Developer info
|
||||
|
||||
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/jupyterlab_ynh/tree/testing).
|
||||
|
||||
To try the testing branch, please proceed like that.
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/jupyterlab_ynh/tree/testing --debug
|
||||
or
|
||||
sudo yunohost app upgrade jupyterlab -u https://github.com/YunoHost-Apps/jupyterlab_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**More info regarding app packaging:** https://yunohost.org/packaging_apps
|
||||
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>
|
||||
|
|
28
README_fr.md
28
README_fr.md
|
@ -1,10 +1,14 @@
|
|||
<!--
|
||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
|
||||
It shall NOT be edited by hand.
|
||||
-->
|
||||
|
||||
# JupyterLab pour YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/jupyterlab)  
|
||||
[](https://dash.yunohost.org/appci/app/jupyterlab)  
|
||||
[](https://install-app.yunohost.org/?app=jupyterlab)
|
||||
|
||||
*[Read this readme in english.](./README.md)*
|
||||
*[Lire ce readme en français.](./README_fr.md)*
|
||||
|
||||
> *Ce package vous permet d'installer JupyterLab rapidement et simplement sur un serveur YunoHost.
|
||||
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
|
||||
|
@ -14,31 +18,33 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
|||
JupyterLab is the next-generation user interface for Project Jupyter offering all the familiar building blocks of the classic Jupyter Notebook (notebook, terminal, text editor, file browser, rich outputs, etc.) in a flexible and powerful user interface. JupyterLab will eventually replace the classic Jupyter Notebook.
|
||||
|
||||
|
||||
**Version incluse :** 3.4.2~ynh1
|
||||
**Version incluse :** 3.4.5~ynh1
|
||||
|
||||
|
||||
**Démo :** https://mybinder.org/v2/gh/jupyterlab/jupyterlab-demo/master?urlpath=lab/tree/demo
|
||||
|
||||
## Captures d'écran
|
||||
|
||||

|
||||

|
||||
|
||||
## Documentations et ressources
|
||||
|
||||
* Site officiel de l'app : https://jupyterlab.readthedocs.io/en/stable/
|
||||
* Documentation officielle de l'admin : https://jupyterlab.readthedocs.io/en/stable/
|
||||
* Dépôt de code officiel de l'app : https://github.com/jupyterhub/jupyterhub
|
||||
* Documentation YunoHost pour cette app : https://yunohost.org/app_jupyterlab
|
||||
* Signaler un bug : https://github.com/YunoHost-Apps/jupyterlab_ynh/issues
|
||||
* Site officiel de l'app : <https://jupyter.org>
|
||||
* Documentation officielle de l'admin : <https://jupyterlab.readthedocs.io/en/stable/>
|
||||
* Dépôt de code officiel de l'app : <https://github.com/jupyterhub/jupyterhub>
|
||||
* Documentation YunoHost pour cette app : <https://yunohost.org/app_jupyterlab>
|
||||
* Signaler un bug : <https://github.com/YunoHost-Apps/jupyterlab_ynh/issues>
|
||||
|
||||
## Informations pour les développeurs
|
||||
|
||||
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/jupyterlab_ynh/tree/testing).
|
||||
|
||||
Pour essayer la branche testing, procédez comme suit.
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/jupyterlab_ynh/tree/testing --debug
|
||||
ou
|
||||
sudo yunohost app upgrade jupyterlab -u https://github.com/YunoHost-Apps/jupyterlab_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Plus d'infos sur le packaging d'applications :** https://yunohost.org/packaging_apps
|
||||
**Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps>
|
||||
|
|
|
@ -6,14 +6,15 @@
|
|||
"en": "Code console environment for running Python code interactively.",
|
||||
"fr": "Console de code pour exécuter du code Python de manière interactive."
|
||||
},
|
||||
"version": "3.4.2~ynh1",
|
||||
"url": "https://jupyterlab.readthedocs.io/en/stable/",
|
||||
"version": "3.4.5~ynh1",
|
||||
"url": "https://jupyter.org",
|
||||
"upstream": {
|
||||
"license": "BSD-3-Clause",
|
||||
"website": "https://jupyterlab.readthedocs.io/en/stable/",
|
||||
"website": "https://jupyter.org",
|
||||
"demo": "https://mybinder.org/v2/gh/jupyterlab/jupyterlab-demo/master?urlpath=lab/tree/demo",
|
||||
"admindoc": "https://jupyterlab.readthedocs.io/en/stable/",
|
||||
"code": "https://github.com/jupyterhub/jupyterhub"
|
||||
"code": "https://github.com/jupyterhub/jupyterhub",
|
||||
"cpe": "cpe:2.3:a:jupyter:nbdime-jupyterlab"
|
||||
},
|
||||
"license": "BSD-3-Clause",
|
||||
"maintainer": {
|
||||
|
@ -21,7 +22,7 @@
|
|||
"email": "pierre@kayou.io"
|
||||
},
|
||||
"requirements": {
|
||||
"yunohost": ">= 4.3.0"
|
||||
"yunohost": ">= 11.0.9"
|
||||
},
|
||||
"multi_instance": true,
|
||||
"services": [
|
||||
|
@ -59,4 +60,4 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -5,11 +5,11 @@
|
|||
#=================================================
|
||||
|
||||
# dependencies used by the app
|
||||
pkg_dependencies="python3-dev python3-pip libffi-dev libzmq3-dev"
|
||||
pkg_dependencies="python3-dev python3-pip"
|
||||
|
||||
nodejs_version="16"
|
||||
|
||||
jupyterlab_version="3.4.2"
|
||||
jupyterlab_version="3.4.5"
|
||||
|
||||
#=================================================
|
||||
# PERSONAL HELPERS
|
||||
|
|
|
@ -100,7 +100,7 @@ mkdir -p "$final_path"
|
|||
|
||||
pushd $final_path
|
||||
mkdir -p .venv
|
||||
PIPENV_VENV_IN_PROJECT="enabled" PIPENV_SKIP_LOCK=true ynh_exec_warn_less python3 -m pipenv install jupyterlab==$jupyterlab_version jupyterhub notebook jupyterhub-ldapauthenticator pyzmq --three
|
||||
PIPENV_VENV_IN_PROJECT="enabled" PIPENV_SKIP_LOCK=true ynh_exec_warn_less python3 -m pipenv install jupyterlab==$jupyterlab_version jupyterhub notebook jupyterhub-ldapauthenticator pyzmq jupyterlab-language-pack-fr-FR --three
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -28,7 +28,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
|||
# Remove the service from the list of services known by YunoHost (added from `yunohost service add`)
|
||||
if ynh_exec_warn_less yunohost service status $app >/dev/null
|
||||
then
|
||||
ynh_script_progression --message="Removing $app service integration..."--weight=2
|
||||
ynh_script_progression --message="Removing $app service integration..." --weight=2
|
||||
yunohost service remove $app
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue