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

Update install

This commit is contained in:
Mateusz 2024-04-01 13:40:58 +02:00 committed by GitHub
parent 027bae77c0
commit 25e9b49ee9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -60,8 +60,10 @@ pushd "$install_dir"
curl https://sh.rustup.rs -sSf | ynh_exec_warn_less ynh_exec_as $app sh -s -- -y curl https://sh.rustup.rs -sSf | ynh_exec_warn_less ynh_exec_as $app sh -s -- -y
export PATH="$install_dir/.cargo/bin:$PATH" export PATH="$install_dir/.cargo/bin:$PATH"
ynh_use_nodejs ynh_use_nodejs
corepack enable env $ynh_node_load_PATH corepack enable
corepack prepare pnpm@latest --activate env $ynh_node_load_PATH corepack prepare pnpm@latest --activate
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH corepack enable
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH 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 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 NODE_ENV=production pnpm build
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm run init ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm run init