fix: simplify LocalAGI build process by removing error handling
This commit is contained in:
@@ -44,16 +44,12 @@ chmod 600 /opt/localagi/.env
|
|||||||
msg_ok "Configured LocalAGI"
|
msg_ok "Configured LocalAGI"
|
||||||
|
|
||||||
msg_info "Building LocalAGI from source"
|
msg_info "Building LocalAGI from source"
|
||||||
if ! (
|
|
||||||
cd /opt/localagi/webui/react-ui &&
|
cd /opt/localagi/webui/react-ui &&
|
||||||
$STD bun install &&
|
$STD bun install &&
|
||||||
$STD bun run build &&
|
$STD bun run build &&
|
||||||
cd /opt/localagi &&
|
cd /opt/localagi &&
|
||||||
$STD go build -o /usr/local/bin/localagi
|
$STD go build -o /usr/local/bin/localagi
|
||||||
); then
|
|
||||||
msg_error "Failed to build LocalAGI from source"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
msg_ok "Built LocalAGI from source"
|
msg_ok "Built LocalAGI from source"
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
|
|||||||
Reference in New Issue
Block a user