Spaces:
Paused

yaz / scripts /setup /setup.sh
anaselamr's picture
feat: Sprint 44 — ProductRegistry, Azul/Luiz layer, 13 migrations, doc cleanup
383d839
Raw History Blame Contribute Delete
1.16 kB
#!/bin/bash
# YAZ Care Platform Setup Script
set -e
echo "🏥 YAZ Care Platform - Quick Setup"
echo "===================================="
# Create .env file from example
if [ ! -f .env ]; then
echo "📋 Creating environment configuration..."
cp .env.example .env
echo "✅ Created .env file (please update with your settings)"
fi
# Install Python dependencies
echo "📦 Installing Python dependencies..."
pip install -r requirements.txt
echo "🔧 Setting up development environment..."
# Create necessary directories
mkdir -p logs data/uploads src/ai-engine/models
# Set executable permissions
chmod +x setup.sh
echo ""
echo "✅ Setup completed successfully!"
echo ""
echo "🚀 Next steps:"
echo "1. Update .env file with your database and Redis settings"
echo "2. Start services: docker-compose up -d postgres redis"
echo "3. Run migrations: python manage.py migrate"
echo "4. Start the platform: python manage.py runserver"
echo ""
echo "📚 Documentation:"
echo "- API docs: http://localhost:8000/docs"
echo "- Health check: python health_check.py"
echo "- Run tests: pytest tests/"
echo ""
echo "🏥 Welcome to YAZ Care Platform!"