Update dawarich-install.sh

This commit is contained in:
CanbiZ 2026-01-16 17:14:54 +01:00
parent 2aa1973b6a
commit 8b53a4b61a

View File

@ -77,6 +77,13 @@ $STD gem install bundler
$STD bundle config set --local deployment 'true' $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
$STD npm install
cd /opt/dawarich/app
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
$STD bundle exec rake data:migrate $STD bundle exec rake data:migrate