jatin gyass
initial commit
2eef9ea
Raw
History Blame Contribute Delete
921 Bytes
#!/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"