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
25f7bb0aa2
commit
acf43a4323
1 changed files with 3 additions and 2 deletions
|
@ -80,14 +80,15 @@ ynh_script_progression --message="Installing $app..." --weight=10
|
|||
|
||||
pushd $install_dir
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less npm install pnpm -g
|
||||
corepack enable && corepack prepare pnpm@latest --activate
|
||||
#ynh_exec_warn_less npm install pnpm -g
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true bin/installDeps.sh
|
||||
popd
|
||||
|
||||
#Buiding admin
|
||||
pushd $install_dir/admin
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm build
|
||||
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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue