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

reduce verbosity

This commit is contained in:
yalh76 2020-06-02 19:49:35 +02:00
parent 61ff116a2c
commit 8a23a4c64b
3 changed files with 6 additions and 6 deletions

View file

@ -135,10 +135,10 @@ exec_login_as $app RAILS_ENV=production bundle exec script/discourse remap ${old
rake_exec="exec_login_as $app RAILS_ENV=production bin/rake"
# Regenerate assets
$rake_exec assets:precompile
ynh_exec_warn_less $rake_exec assets:precompile
# Regenerate all forum posts
$rake_exec posts:rebake
ynh_exec_warn_less $rake_exec posts:rebake
#=================================================
# GENERIC FINALISATION

View file

@ -237,8 +237,8 @@ fi
ynh_script_progression --message="Preparing the database..."
rake_exec="exec_login_as $app RAILS_ENV=production bin/rake"
$rake_exec db:migrate
$rake_exec assets:precompile
ynh_exec_warn_less $rake_exec db:migrate
ynh_exec_warn_less $rake_exec assets:precompile
#=================================================
# POPULATE THE DATABASE

View file

@ -312,8 +312,8 @@ then
ynh_script_progression --message="Preparing the database..."
rake_exec="exec_login_as $app RAILS_ENV=production bin/rake"
$rake_exec db:migrate
$rake_exec assets:precompile
ynh_exec_warn_less $rake_exec db:migrate
ynh_exec_warn_less $rake_exec assets:precompile
fi
#=================================================