1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tracim_ynh.git synced 2024-10-01 13:34:52 +02:00

Update install

This commit is contained in:
ericgaspar 2024-06-08 08:29:41 +02:00
parent f5806c7b88
commit 64d239a807

View file

@ -93,10 +93,12 @@ pushd "$install_dir/backend"
ynh_exec_warn_less ./update_i18n_json_file.sh || exit 1
popd
pushd "$install_dir"
echo 'nodeLinker: node-modules' >> .yarnrc.yml
ynh_exec_warn_less yarn install
ynh_exec_warn_less ./build_full_frontend.sh
pushd $install_dir
ynh_use_nodejs
echo 'nodeLinker: node-modules' >> .yarnrc.yml
ynh_exec_warn_less env $ynh_node_load_PATH corepack enable && COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare pnpm@latest --activate
ynh_exec_warn_less env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 pnpm install
ynh_exec_warn_less env $ynh_node_load_PATH COREPACK_ENABLE_DOWNLOAD_PROMPT=0 ./build_full_frontend.sh
popd
chmod 750 "$install_dir"