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

install extension

This commit is contained in:
Pierre Bourré 2018-12-30 23:28:32 +01:00
parent f7b7b4f76e
commit 6dbc4ba44d
2 changed files with 3 additions and 0 deletions

View file

@ -3,6 +3,7 @@ Description=Jupyterlab
After=syslog.target network.target After=syslog.target network.target
[Service] [Service]
Environment="PATH=__FINALPATH__/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
ExecStart=__FINALPATH__/bin/jupyterhub -f __CONFIGPATH__/jupyterhub_config.py 2&>> /var/log/__APP__.log ExecStart=__FINALPATH__/bin/jupyterhub -f __CONFIGPATH__/jupyterhub_config.py 2&>> /var/log/__APP__.log
Restart=always Restart=always
RestartSec=10 RestartSec=10

View file

@ -96,6 +96,8 @@ $final_path/bin/conda install -c conda-forge jupyterhub notebook jupyterlab jupy
$final_path/bin/jupyter labextension install @jupyterlab/hub-extension $final_path/bin/jupyter labextension install @jupyterlab/hub-extension
$final_path/bin/jupyter lab build $final_path/bin/jupyter lab build
chown $admin -R $final_path/share/jupyter
#================================================= #=================================================
# CONFIGURE JUPYTER NOTEBOOK # CONFIGURE JUPYTER NOTEBOOK
#================================================= #=================================================