1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00

Update restore

This commit is contained in:
Mateusz 2024-04-03 21:52:16 +02:00 committed by GitHub
parent 8cf1a56a66
commit 112921e687
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,11 +63,13 @@ pushd "$install_dir/live"
ynh_use_ruby ynh_use_ruby
ynh_gem update --system ynh_gem update --system
ynh_gem install bundler --no-document ynh_gem install bundler --no-document
ynh_exec_as "$app" "$ynh_ruby_load_path" "$ld_preload" bin/bundle install --redownload -j"$(nproc)" ynh_exec_warn_less ynh_exec_as "$app" env RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/bundle install --redownload -j"$(nproc)"
ynh_use_nodejs ynh_use_nodejs
corepack enable env $ynh_node_load_PATH corepack enable
yarn install 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 --activate
ynh_exec_warn_less ynh_exec_as "$app" env $ynh_node_load_PATH NODE_OPTIONS="--max-old-space-size=5000" yarn install
popd popd
#================================================= #=================================================