diff --git a/scripts/install b/scripts/install index 832a95e..46eaa7e 100644 --- a/scripts/install +++ b/scripts/install @@ -25,15 +25,23 @@ npm install -g configurable-http-proxy ynh_script_progression --message="Setting up source files..." --weight=64 # Set permissions to app files -mkdir -p "$install_dir/.venv" -chown -R $app:$app "$install_dir" -chmod -R g=u,g-w,o-rwx "$install_dir" -setfacl -nR -m g:$app.main:rx -m d:g:$app.main:rx "$install_dir/.venv" -setfacl -n -m g:$app.main:x "$install_dir" +# mkdir -p "$install_dir/.venv" +# chown -R $app:$app "$install_dir" +# chmod -R g=u,g-w,o-rwx "$install_dir" +# setfacl -nR -m g:$app.main:rx -m d:g:$app.main:rx "$install_dir/.venv" +# setfacl -n -m g:$app.main:x "$install_dir" -pushd "$install_dir" - sudo -u $app PIPENV_VENV_IN_PROJECT="enabled" PIPENV_SKIP_LOCK=true python3 -m pipenv install jupyterlab==$jupyterlab_version jupyterhub notebook jupyter-server jupyterhub-ldapauthenticator pyzmq sudospawner 2>&1 - sudo -u $app python3 -m pipenv run jupyterhub upgrade-db 2>&1 +# pushd "$install_dir" +# sudo -u $app PIPENV_VENV_IN_PROJECT="enabled" PIPENV_SKIP_LOCK=true python3 -m pipenv install jupyterlab==$jupyterlab_version jupyterhub notebook jupyter-server jupyterhub-ldapauthenticator pyzmq sudospawner 2>&1 +# sudo -u $app python3 -m pipenv run jupyterhub upgrade-db 2>&1 +# popd + + +mkdir -p "$install_dir" + +pushd $install_dir + 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 jupyterlab-language-pack-fr-FR popd #=================================================