File size: 1,164 Bytes
07612e2 | 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 41 42 43 | #!/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!"
|