From 8b53a4b61aab75e7ed6ef02d56474235d3d26957 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Fri, 16 Jan 2026 17:14:54 +0100 Subject: [PATCH] Update dawarich-install.sh --- install/dawarich-install.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/install/dawarich-install.sh b/install/dawarich-install.sh index e41a70d8b..cec66c43a 100644 --- a/install/dawarich-install.sh +++ b/install/dawarich-install.sh @@ -77,6 +77,13 @@ $STD gem install bundler $STD bundle config set --local deployment 'true' $STD bundle config set --local without 'development test' $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 rails db:prepare $STD bundle exec rake data:migrate