Spaces:
Sleeping
Sleeping
File size: 921 Bytes
2eef9ea | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | #!/bin/bash
# setup.sh - Initialize development environment
set -e
echo "π§ Setting up Multi-Agent System..."
# Create virtual environment
if [ ! -d "venv" ]; then
echo "π¦ Creating virtual environment..."
python3 -m venv venv
fi
# Activate virtual environment
echo "β
Activating virtual environment..."
source venv/bin/activate
# Install dependencies
echo "π₯ Installing Python dependencies..."
pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
pip install -r requirements-dev.txt
# Setup frontend
if [ -d "frontend" ]; then
echo "π Setting up frontend..."
cd frontend
npm install
cd ..
fi
# Create .env file if it doesn't exist
if [ ! -f ".env" ]; then
echo "π Creating .env file..."
cp .env.example .env
echo "β οΈ Please update .env with your configuration"
fi
echo "β¨ Setup complete! Run './scripts/run.sh' to start the system"
|