Installation Guide
Complete installation and setup instructions for the Healthcare Management System.
System Requirements
- Python 3.12+
- 4GB RAM minimum (8GB+ for AI)
- 500MB storage + AI model size
- Windows 10+, macOS, or Linux
Python Installation
Install Python from python.org/downloads
Verify installation:
python --version
Application Setup
Clone Repository
git clone https://github.com/mabdulre9/healthcare-system.git
cd healthcare-system
Create Virtual Environment
python -m venv venv
source venv/bin/activate # Linux/Mac
venv\Scripts\activate # Windows
Install Dependencies
pip install -r requirements.txt
Run Application
python app.py
Access at http://localhost:5000
Ollama Installation
Download Ollama
Visit ollama.com/download
- Windows: Run OllamaSetup.exe
- macOS: Install from DMG
- Linux:
curl -fsSL https://ollama.com/install.sh | sh
Download Model
ollama pull qwen2.5:4b
Configure
- Open
http://localhost:5000/settings - Enter model name:
qwen2.5:4b - Click TEST MODEL
- Click SAVE SETTINGS
Verification
Test all components:
- Application runs without errors
- Dashboard displays sample patients
- AI Assistant connects to Ollama
- Medical reports generate successfully