From 22fe50ee647275cddf8eb7ab18a29d4ce52f59c4 Mon Sep 17 00:00:00 2001 From: John Doe Date: Thu, 5 Mar 2026 15:31:19 -0500 Subject: [PATCH] fix: add informational messages for fetching and building LocalAGI in localagi-install.sh --- install/localagi-install.sh | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/install/localagi-install.sh b/install/localagi-install.sh index f44adde7a..1664bc1ef 100644 --- a/install/localagi-install.sh +++ b/install/localagi-install.sh @@ -28,7 +28,9 @@ ln -sf /root/.bun/bin/bun /usr/local/bin/bun ln -sf /root/.bun/bin/bunx /usr/local/bin/bunx msg_ok "Installed Bun" +msg_info "Fetching and deploying LocalAGI" fetch_and_deploy_gh_release "localagi" "mudler/LocalAGI" "tarball" "latest" "/opt/localagi" +msg_ok "Fetched and deployed LocalAGI" mkdir -p /opt/localagi/pool cat <<'EOF' >/opt/localagi/.env @@ -42,14 +44,16 @@ LOCALAGI_ENABLE_CONVERSATIONS_LOGGING=false EOF chmod 600 /opt/localagi/.env -cd /opt/localagi/webui/react-ui && - $STD bun install && - $STD bun run build && - cd /opt/localagi && - $STD go build -o /usr/local/bin/localagi || { +msg_info "Building LocalAGI from source" +cd /opt/localagi/webui/react-ui +$STD bun install +$STD bun run build +cd /opt/localagi +$STD go build -o /usr/local/bin/localagi || { msg_error "Failed to build LocalAGI from source" exit 1 } +msg_ok "Built LocalAGI from source successfully" cat <<'EOF' >/etc/systemd/system/localagi.service [Unit]