This commit is contained in:
CanbiZ 2026-01-18 10:49:36 +01:00
parent 101a041972
commit 4368e69dab

View File

@ -78,9 +78,13 @@ $STD bundle config set --local deployment 'true'
$STD bundle config set --local without 'development test' $STD bundle config set --local without 'development test'
$STD bundle install $STD bundle install
if [[ -f /opt/dawarich/package.json ]]; then
cd /opt/dawarich cd /opt/dawarich
$STD npm install $STD npm install
cd /opt/dawarich/app cd /opt/dawarich/app
elif [[ -f /opt/dawarich/app/package.json ]]; then
$STD npm install
fi
$STD bundle exec rake assets:precompile $STD bundle exec rake assets:precompile
$STD bundle exec rails db:prepare $STD bundle exec rails db:prepare