aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/install10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/install b/scripts/install
index 56b8ef8..8e505e7 100644
--- a/scripts/install
+++ b/scripts/install
@@ -103,7 +103,7 @@ ynh_install_app_dependencies \
`# redis ` \
redis-server redis-tools \
`# postgresql ` \
- postgresql postgresql-contrib postgresql-server-dev-9.4 \
+ postgresql \
`# Ruby ` \
autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev \
`# 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"
su mastodon <<INSTALL
$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
-yarn install --production --no-progress --non-interactive
+$final_path/live/bin/bundle install -j$(getconf _NPROCESSORS_ONLN) --deployment --without development test --quiet
+yarn install --production --no-progress --non-interactive --silent
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 assets:precompile
+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 --quiet
INSTALL
)