Skip to content

anras5/opti-diagnose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Opti Diagnose

Running the project

  1. Create .env file in the root directory and add the following environment variables:
DEBUG=True
SECRET_KEY='abcdefghijklmnopqrstuvwxyz1234567890'
ALLOWED_HOSTS=*
DATABASE_URL=postgres://postgres:secretpassword@postgres:5432/optidiagnosedb

POSTGRES_USER=postgres
POSTGRES_PASSWORD=secretpassword
POSTGRES_DB=optidiagnosedb
  1. Download .mar model archive files from releases page

  2. Put the .mar files inside models/model_store directory

  3. Run using Docker Compose:

docker compose up
  1. If running for the first time:
docker exec -it opti-diagnose-api uv run optidiagnose/manage.py createsuperuser

Username and password specified here can be used to login to the app.

If you would like to add additional users you can do it using localhost:8088/admin or using api localhost:8088/api/user/

Runs:

  • frontend on 5173
  • backend on 8088 (use /admin to access admin panel)
  • postgres on 54320
  • pytorch serve on 8080, 8081, 8082

User Interface

patients create examination step 1 create examination step 2 view examination