archy/complete-setup.sh

53 lines
1.2 KiB
Bash
Raw Normal View History

#!/bin/bash
# Complete Rust Setup and Build Backend
echo "============================================"
echo "Completing Rust Setup"
echo "============================================"
echo ""
# Add Rust to PATH for current shell
export PATH="$HOME/.cargo/bin:$PATH"
# Verify Rust is working
echo "Checking Rust installation..."
rustc --version
cargo --version
echo ""
echo "============================================"
echo "Building Rust Backend"
echo "============================================"
echo ""
cd core
# Build the backend
echo "Building backend (this may take a few minutes)..."
cargo build
echo ""
echo "============================================"
echo "Installation Complete!"
echo "============================================"
echo ""
echo "✓ All dependencies installed"
echo "✓ Backend built successfully"
echo ""
echo "Next steps:"
echo ""
echo "1. Start the backend (Terminal 1):"
echo " cd core"
echo " cargo run --bin archipelago"
echo ""
echo "2. Start the frontend (Terminal 2):"
echo " cd neode-ui"
echo " npm run dev"
echo ""
echo "3. Open your browser:"
echo " http://localhost:8100"
echo ""
echo "Or use the quick start script:"
echo " ./scripts/dev-start.sh"
echo ""