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

Try to limit the log

This commit is contained in:
Jean-Baptiste Holcroft 2018-05-01 20:44:54 +02:00
parent 5799993dc4
commit 3004a1c041

View file

@ -103,7 +103,7 @@ ynh_install_app_dependencies \
`# redis ` \ `# redis ` \
redis-server redis-tools \ redis-server redis-tools \
`# postgresql ` \ `# postgresql ` \
postgresql postgresql-contrib postgresql-server-dev-9.4 \ postgresql \
`# Ruby ` \ `# Ruby ` \
autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev \ autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev \
`# ffmpeg from backports ` \ `# ffmpeg from backports ` \
@ -215,12 +215,12 @@ sed -i "s@#SMTP_OPENSSL_VERIFY_MODE=peer@SMTP_OPENSSL_VERIFY_MODE=none@g" "${fin
cd "$final_path/live" cd "$final_path/live"
su mastodon <<INSTALL su mastodon <<INSTALL
$final_path/.rbenv/versions/2.5.0/bin/gem install bundler $final_path/.rbenv/versions/2.5.0/bin/gem install bundler
$final_path/live/bin/bundle install -j$(getconf _NPROCESSORS_ONLN) --deployment --without development test $final_path/live/bin/bundle install -j$(getconf _NPROCESSORS_ONLN) --deployment --without development test --quiet
yarn install --production --no-progress --non-interactive yarn install --production --no-progress --non-interactive --silent
echo "SAFETY_ASSURED=1">> .env.production echo "SAFETY_ASSURED=1">> .env.production
RAILS_ENV=production $final_path/live/bin/bundle exec rails db:migrate RAILS_ENV=production $final_path/live/bin/bundle exec rails db:migrate --quiet
RAILS_ENV=production $final_path/live/bin/bundle exec rails assets:precompile RAILS_ENV=production $final_path/live/bin/bundle exec rails assets:precompile --quiet
INSTALL INSTALL
) )