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:
parent
d2f20b9430
commit
502144fe68
1 changed files with 3 additions and 2 deletions
|
@ -129,8 +129,9 @@ pushd "$install_dir/live"
|
||||||
|
|
||||||
# Building assets
|
# Building assets
|
||||||
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 yarn install
|
||||||
echo "SAFETY_ASSURED=1">> "$config"
|
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 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
|
ynh_exec_warn_less ynh_exec_as "$app" RAILS_ENV=production "$ynh_ruby_load_path" "$ld_preload" bin/bundle exec rails assets:precompile --quiet
|
||||||
|
|
Loading…
Add table
Reference in a new issue