archy/rebuild-backend.sh
Dorian 1c024c5d64 Update archipelago: API, auth, container, parmanode, performance, security
- API handler, RPC, and server updates
- Auth and coding rules
- Container data manager, dev orchestrator, health monitor, podman client
- Parmanode script runner
- Performance resource manager
- Security container policies and secrets manager
- Add build scripts and documentation
2026-01-27 22:27:17 +00:00

50 lines
1.3 KiB
Bash
Executable File

#!/bin/bash
# Rebuild Backend After Fixes
echo "============================================"
echo "Rebuilding Archipelago Backend"
echo "============================================"
echo ""
# Ensure Rust is in PATH
export PATH="$HOME/.cargo/bin:$PATH"
# Navigate to core directory
cd "$(dirname "$0")/core" || exit 1
echo "Building backend..."
echo ""
# Build the backend
cargo build --bin archipelago
if [ $? -eq 0 ]; then
echo ""
echo "============================================"
echo "✅ Backend Build SUCCESS!"
echo "============================================"
echo ""
echo "The backend is now ready to run!"
echo ""
echo "To start the full stack:"
echo ""
echo "Option 1 - Use the dev script:"
echo " ./scripts/dev-start.sh"
echo " Choose option 2 (Full stack)"
echo ""
echo "Option 2 - Manual start:"
echo " Terminal 1: cd core && cargo run --bin archipelago"
echo " Terminal 2: cd neode-ui && npm run dev"
echo ""
echo "Then open: http://localhost:8100"
echo ""
else
echo ""
echo "============================================"
echo "❌ Build Failed"
echo "============================================"
echo ""
echo "Check the error messages above."
echo ""
fi