mirror of
https://github.com/YunoHost-Apps/etherpad_ynh.git
synced 2024-09-03 18:36:10 +02:00
commit
9b0a3f3785
2 changed files with 8 additions and 14 deletions
|
@ -80,18 +80,11 @@ ynh_script_progression --message="Installing $app..." --weight=10
|
||||||
|
|
||||||
pushd $install_dir
|
pushd $install_dir
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
ynh_exec_warn_less npm install pnpm -g
|
ynh_exec_warn_less env $ynh_node_load_PATH corepack enable
|
||||||
#corepack enable && corepack prepare pnpm@latest --activate
|
ynh_exec_warn_less env $ynh_node_load_PATH corepack prepare pnpm@latest --activate
|
||||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh
|
ynh_exec_warn_less env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true COREPACK_ENABLE_DOWNLOAD_PROMPT=0 bin/installDeps.sh
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#Buiding admin
|
|
||||||
#pushd $install_dir/admin
|
|
||||||
#ynh_use_nodejs
|
|
||||||
# ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH corepack pnpm build
|
|
||||||
# mv $install_dir/admin/dist $install_dir/src/templates/admin/
|
|
||||||
#popd
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -97,12 +97,13 @@ chown $app:$app "$install_dir/credentials.json"
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL ETHERPAD
|
# INSTALL ETHERPAD
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Installing $app..." --weight=60
|
ynh_script_progression --message="Installing $app..." --weight=10
|
||||||
|
|
||||||
pushd $install_dir
|
pushd $install_dir
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
ynh_exec_warn_less npm install pnpm -g
|
ynh_exec_warn_less env $ynh_node_load_PATH corepack enable
|
||||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh
|
ynh_exec_warn_less env $ynh_node_load_PATH corepack prepare pnpm@latest --activate
|
||||||
|
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true COREPACK_ENABLE_DOWNLOAD_PROMPT=0 bin/installDeps.sh
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue