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:
parent
29c8de045d
commit
63ea2a6b80
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue