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

Update install

This commit is contained in:
Mateusz 2024-04-02 18:35:11 +02:00 committed by GitHub
parent d2f20b9430
commit 502144fe68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -129,8 +129,9 @@ pushd "$install_dir/live"
# Building assets
ynh_use_nodejs
corepack enable
yarn install
env $ynh_node_load_PATH corepack enable
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 yarn install
echo "SAFETY_ASSURED=1">> "$config"
ynh_exec_warn_less ynh_exec_as "$app" RAILS_ENV=production "$ynh_ruby_load_path" "$ld_preload" bin/bundle exec rails db:migrate --quiet
ynh_exec_warn_less ynh_exec_as "$app" RAILS_ENV=production "$ynh_ruby_load_path" "$ld_preload" bin/bundle exec rails assets:precompile --quiet