Spaces:
Sleeping
Sleeping
| # 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" | |