mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Fix
This commit is contained in:
parent
04f41b9cb2
commit
047dbcf208
1 changed files with 5 additions and 3 deletions
|
@ -211,9 +211,11 @@ chown -R "$app": "$final_path"
|
||||||
(
|
(
|
||||||
cd "$final_path/live"
|
cd "$final_path/live"
|
||||||
su mastodon <<INSTALL
|
su mastodon <<INSTALL
|
||||||
$final_path/.rbenv/versions/2.5.3/bin/gem install bundler
|
$final_path/.rbenv/versions/2.5.3/bin/gem install bundler --no-ri --no-rdoc
|
||||||
$final_path/.rbenv/versions/2.5.3/bin/bundle install --deployment --force --without development test
|
$final_path/live/bin/bundle install \
|
||||||
yarn install --production --no-progress --non-interactive --silent
|
-j$(getconf _NPROCESSORS_ONLN) \
|
||||||
|
--deployment --without development test
|
||||||
|
yarn install --pure-lockfile
|
||||||
echo "SAFETY_ASSURED=1">> .env.production
|
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 db:migrate --quiet
|
||||||
RAILS_ENV=production $final_path/live/bin/bundle exec rails assets:precompile --quiet
|
RAILS_ENV=production $final_path/live/bin/bundle exec rails assets:precompile --quiet
|
||||||
|
|
Loading…
Reference in a new issue