Download scripts/setup/setup.sh from anaselamr/yaz: direct link, hf CLI and curl.
- Browser
- Download file 1.16 kB
-
https://huggingface.co/spaces/anaselamr/yaz/resolve/main/scripts/setup/setup.sh
- Command line
-
hf download hf://spaces/anaselamr/yaz/scripts/setup/setup.sh
-
curl -L -o setup.sh https://huggingface.co/spaces/anaselamr/yaz/resolve/main/scripts/setup/setup.sh
1.16 kB
| # 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!" | |