1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jupyterlab_ynh.git synced 2024-09-03 19:26:35 +02:00
Permission for pip install #35
This commit is contained in:
Kayou 2020-04-27 17:35:37 +02:00 committed by GitHub
commit 81f7c6bddc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View file

@ -160,8 +160,8 @@ ynh_store_file_checksum --file="$final_path/config/jupyter_notebook_config.py"
#================================================= #=================================================
# Set permissions to app files # Set permissions to app files
chown -R root: $final_path chown -R root: $final_path/
chown -R $admin: $final_path/.venv/share chown -R $admin: $final_path/.venv/lib
#================================================= #=================================================
# ADVERTISE SERVICE IN ADMIN PANEL # ADVERTISE SERVICE IN ADMIN PANEL

View file

@ -62,8 +62,8 @@ ynh_restore_file --origin_path="$final_path"
#================================================= #=================================================
# Restore permissions on app files # Restore permissions on app files
chown -R root: $final_path chown -R $admin: $final_path/
chown -R $admin: $final_path/.venv/share chmod -R 755 $final_path/.venv/
#================================================= #=================================================
# SPECIFIC RESTORATION # SPECIFIC RESTORATION

View file

@ -116,7 +116,7 @@ then
pushd $final_path 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 --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
ynh_exec_warn_less python3 -m pipenv run jupyterhub upgrade-db ynh_exec_warn_less python3 -m pipenv run jupyterhub upgrade-db
@ -170,8 +170,8 @@ ynh_add_systemd_config
#================================================= #=================================================
# Set permissions on app files # Set permissions on app files
chown -R root: $final_path chown -R $admin: $final_path/
chown -R $admin: $final_path/.venv/share chmod -R 755 $final_path/.venv/
#================================================= #=================================================
# SETUP SSOWAT # SETUP SSOWAT