Files
universe/setup.sh
T
Hanzo Dev 5d2217e48d feat: Initialize Zoo Universe with git submodules
- Add all 8 Zoo apps as git submodules
- Create unified management scripts (setup, install, start, stop, status)
- Add Docker Compose configuration
- Complete documentation

Submodules:
- zoo.ngo (main platform) → localhost:3000
- zoo.fund (funding) → localhost:3005
- zoo.exchange (trading) → localhost:3001
- zoo.network (network tools) → localhost:3002
- zoo.computer (desktop app) → localhost:3003
- zoo.lab (research) → localhost:3004
- zoo.vote (DAO governance) → localhost:3006
- zoo.foundation (foundation site) → localhost:3007
2025-11-02 13:02:05 -08:00

47 lines
1.0 KiB
Bash
Executable File

#!/bin/bash
# Zoo Universe - Setup Script
# Clones all Zoo apps and sets up local development environment
set -e
echo "🌌 Zoo Universe - Setup"
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo ""
# Define all zoo apps
APPS=(
"zoo.ngo:3000"
"zoo.fund:3005"
"zoo.exchange:3001"
"zoo.network:3002"
"zoo.computer:3003"
"zoo.lab:3004"
"zoo.vote:3006"
"zoo.foundation:3007"
)
# Clone all repositories
echo "📦 Cloning all Zoo app repositories..."
echo ""
for app_port in "${APPS[@]}"; do
IFS=':' read -r app port <<< "$app_port"
if [ -d "$app" ]; then
echo "✓ $app already cloned"
else
echo "📥 Cloning $app..."
gh repo clone "zoo-apps/$app" || git clone "[email protected]:zoo-apps/$app.git"
fi
done
echo ""
echo "✅ All repositories cloned!"
echo ""
echo "Next steps:"
echo " 1. Run: ./install-all.sh # Install dependencies for all apps"
echo " 2. Run: ./start.sh # Start all apps"
echo " 3. Run: ./stop.sh # Stop all apps"
echo ""