aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authoranmol <github@datamol.org>2019-01-09 16:11:49 +0530
committeranmol <github@datamol.org>2019-01-09 16:11:49 +0530
commit047dbcf208fee3486ccd451c21929c9bdff9c3ff (patch)
treeff4d9aaa962ef77b47b7dc266d54c421e17911c5 /scripts/install
parent04f41b9cb2ab1f1820abd340f30344615a3dd812 (diff)
downloadmastodon_ynh-047dbcf208fee3486ccd451c21929c9bdff9c3ff.tar.gz
mastodon_ynh-047dbcf208fee3486ccd451c21929c9bdff9c3ff.tar.bz2
mastodon_ynh-047dbcf208fee3486ccd451c21929c9bdff9c3ff.zip
Fix
Diffstat (limited to 'scripts/install')
-rw-r--r--scripts/install8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/install b/scripts/install
index 0789620..ab44f3a 100644
--- a/scripts/install
+++ b/scripts/install
@@ -211,9 +211,11 @@ chown -R "$app": "$final_path"
(
cd "$final_path/live"
su mastodon <<INSTALL
- $final_path/.rbenv/versions/2.5.3/bin/gem install bundler
- $final_path/.rbenv/versions/2.5.3/bin/bundle install --deployment --force --without development test
- yarn install --production --no-progress --non-interactive --silent
+ $final_path/.rbenv/versions/2.5.3/bin/gem install bundler --no-ri --no-rdoc
+ $final_path/live/bin/bundle install \
+ -j$(getconf _NPROCESSORS_ONLN) \
+ --deployment --without development test
+ yarn install --pure-lockfile
echo "SAFETY_ASSURED=1">> .env.production
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