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

Upgrade to 2.2.9

This commit is contained in:
ericgaspar 2020-12-20 11:33:16 +01:00
parent 1ddd0d2eab
commit 8908f1d301
No known key found for this signature in database
GPG key ID: 574F281483054D44
9 changed files with 22 additions and 18 deletions

View file

@ -1,7 +1,7 @@
# JupyterLab for YunoHost
[![Integration level](https://dash.yunohost.org/integration/jupyterlab.svg)](https://dash.yunohost.org/appci/app/jupyterlab) ![](https://ci-apps.yunohost.org/ci/badges/jupyterlab.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/jupyterlab.maintain.svg)
[![Install JupyterLab with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=jupyterlab)
[![Install JupyterLab with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=jupyterlab)
*[Lire ce readme en français.](./README_fr.md)*
@ -11,7 +11,7 @@ If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to
## Overview
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:** 2.2.6
**Shipped version:** 2.2.9
## Screenshots
@ -50,8 +50,7 @@ How to configure this app: by an admin panel, a plain file with SSH.
---
Developers info
----------------
## Developers info
Please do your pull request to the [testing branch](https://github.com/YunoHost-Apps/jupyterlab_ynh/tree/testing).

View file

@ -1,7 +1,7 @@
# JupyterLab pour YunoHost
[![Integration level](https://dash.yunohost.org/integration/jupyterlab.svg)](https://dash.yunohost.org/appci/app/jupyterlab) ![](https://ci-apps.yunohost.org/ci/badges/jupyterlab.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/jupyterlab.maintain.svg)
[![Installer JupyterLab avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=jupyterlab)
[![Installer JupyterLab avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=jupyterlab)
*[Read this readme in english.](./README.md)*
@ -11,7 +11,7 @@ Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
## Vue densemble
JupyterLab est une interface utilisateur de nouvelle génération pour le projet Jupyter offrant tous les modules de Jupyter Notebook (interpréteur Python, terminal, éditeur de texte, navigateur de fichiers, etc.) dans une interface utilisateur flexible et puissante. JupyterLab remplacera à terme Jupyter Notebook.
**Version incluse :** 2.2.6
**Version incluse :** 2.2.9
## Captures décran
@ -50,8 +50,7 @@ Comment configurer cette application : via le panneau d'administration, un fichi
---
Informations pour les développeurs
----------------
## Informations pour les développeurs
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/jupyterlab_ynh/tree/testing).

View file

@ -16,8 +16,6 @@
multi_instance=1
port_already_use=1
change_url=1
;;; Levels
Level 5=auto
;;; Options
Email=
Notification=none

View file

@ -3,13 +3,15 @@ Description=JupyterLab
After=syslog.target network.target
[Service]
User=__APP__
Group=__APP__
Environment="LC_ALL=C.UTF-8"
Environment="LANG=C.UTF-8"
WorkingDirectory=__FINALPATH__
Environment="PATH=__NODE_PATH__:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
ExecStart=/usr/local/bin/pipenv run jupyterhub -f __FINALPATH__/config/jupyterhub_config.py
Restart=always
RestartSec=10
WorkingDirectory=__FINALPATH__
[Install]
WantedBy=multi-user.target

View file

@ -2,7 +2,7 @@
"name": "JupyterLab",
"id": "jupyterlab",
"packaging_format": 1,
"version": "2.2.6~ynh1",
"version": "2.2.9~ynh1",
"description": {
"en": "An extensible environment for interactive and reproducible computing (notebook, terminal, text editor, file browser, rich outputs, etc.)",
"fr": "Un environnement informatique extensible, interactif et reproductible (bloc-notes, terminal, éditeur de texte, explorateur de fichiers, texte enrichi, etc.)"
@ -14,7 +14,7 @@
"email": "pierre@kayou.io"
},
"requirements": {
"yunohost": ">= 3.5"
"yunohost": ">= 3.8.1"
},
"multi_instance": true,
"services": [

View file

@ -7,9 +7,9 @@
# dependencies used by the app
pkg_dependencies="python3-dev python3-pip libffi-dev libzmq3-dev"
nodejs_version="10"
nodejs_version="12"
jupyterlab_version="2.2.6"
jupyterlab_version="2.2.9"
#=================================================
# PERSONAL HELPERS

View file

@ -165,7 +165,7 @@ chown -R $admin: $final_path/.venv/
# ADVERTISE SERVICE IN ADMIN PANEL
#=================================================
yunohost service add $app --description "$app daemon" --log_type "systemd" --log "$app"
yunohost service add $app --description="$app daemon" --log="$app"
#=================================================
# START SYSTEMD SERVICE

View file

@ -87,13 +87,13 @@ npm install -g configurable-http-proxy
ynh_script_progression --message="Restoring the systemd configuration..."
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
systemctl enable $app.service
systemctl enable $app.service --quiet
#=================================================
# ADVERTISE SERVICE IN ADMIN PANEL
#=================================================
yunohost service add $app --description "$app daemon" --log_type "systemd" --log "$app"
yunohost service add $app --description="$app daemon" --log="$app"
#=================================================
# START SYSTEMD SERVICE

View file

@ -171,6 +171,12 @@ ynh_add_systemd_config
chown -R root: $final_path/
chown -R $admin: $final_path/.venv/
#=================================================
# ADVERTISE SERVICE IN ADMIN PANEL
#=================================================
yunohost service add $app --description="$app daemon" --log="$app"
#=================================================
# SETUP SSOWAT
#=================================================