MediAssist – AI Health Triage Web App with Real-Time Symptom Analysis
Back to ProjectFollow the steps below to set up and run MediAssist on your local machine. The entire setup takes approximately 10 to 15 minutes.
Download the project source code to your local machine using Git.
git clone <your-repo-url>
cd "AI Health Triage Agent User describes symptoms"
A virtual environment keeps your project dependencies isolated from your global Python installation.
python -m venv venv
venv\Scripts\activate
source venv/bin/activate
Install all required Python packages including Django, the Groq client library, and python-dotenv.
pip install -r requirements.txt
Create your local environment file from the provided template and add your API credentials.
copy .env.example .env
cp .env.example .env
Open the .env file and fill in the following values:
GROQ_API_KEY=your_groq_api_key_here
DJANGO_SECRET_KEY=some-long-random-string-at-least-50-chars
DEBUG=True
python -c "import secrets; print(secrets.token_hex(50))"
This creates the SQLite database file and all required tables. You only need to run this once.
python manage.py makemigrations triage
python manage.py migrate
Launch the application and open it in your browser.
python manage.py runserver
http://127.0.0.1:8000 in your browser
python manage.py runserver 8080
python manage.py runserver 0.0.0.0:8000
python manage.py makemigrations triage followed by python manage.py migrate..env file exists and contains a valid key. Make sure your virtual environment is activated and check the key status at console.groq.com.venv\Scripts\activate on Windows or source venv/bin/activate on macOS/Linux, then run pip install -r requirements.txt.index.html. The fix is to never call .trim() on SSE data: field values in the JavaScript parser.python manage.py runserver 8080Our team is here to assist you with installation and setup.