1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_ynh.git synced 2024-09-03 18:36:10 +02:00

Update install

This commit is contained in:
Éric Gaspar 2024-05-09 11:29:56 +02:00
parent 29c8de045d
commit 63ea2a6b80

View file

@ -79,9 +79,11 @@ chown $app:$app "$install_dir/credentials.json"
ynh_script_progression --message="Installing $app..." --weight=10
pushd $install_dir
ynh_use_nodejs
env $ynh_node_load_PATH corepack enable
env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack install -g pnpm@latest #--activate
ynh_use_nodejs
corepack enable
corepack prepare pnpm@latest --activate
#ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install
#ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh
popd