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

Merge branch 'testing' into yunohost-11

This commit is contained in:
ericgaspar 2022-04-28 20:01:10 +02:00
commit 94ef77d8cd
2 changed files with 9 additions and 3 deletions

View file

@ -117,7 +117,13 @@ ynh_add_nginx_config
#=================================================
ynh_script_progression --message="Building app..."
ynh_add_systemd_config
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
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
popd
#=================================================
# ADD A CONFIGURATION

View file

@ -127,8 +127,8 @@ then
ynh_script_progression --message="Building app..." --weight=160
pushd $final_path
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
ynh_exec_warn_less python3 -m pipenv run jupyterhub upgrade-db
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
popd
fi