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
8c45ae737e
commit
edd9688a2f
1 changed files with 9 additions and 1 deletions
|
@ -82,9 +82,17 @@ chown $app:$app "$install_dir/credentials.json"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Installing $app..." --weight=10
|
||||
|
||||
|
||||
RUN cd ./admin && npm install -g pnpm && pnpm install && pnpm run build --outDir ./dist
|
||||
RUN cd ./ui && pnpm install && pnpm run build --outDir ./dist
|
||||
|
||||
pushd $install_dir
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install -g pnpm
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $install_dir/admin && $ynh_npm install -g pnpm && pnpm install && pnpm run build --outDir ./dist
|
||||
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $install_dir/ui && pnpm install && pnpm run build --outDir ./dist
|
||||
|
||||
#ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install -g pnpm
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ETHERPAD_PRODUCTION=true src/bin/installDeps.sh
|
||||
popd
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue