/MalariaSmearSearch

Blood smears database for malaria diagnosis :microscope:

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

MalariaSmearSearch

MalariaSmearSearch is a database of blood smears used in malaria diagnosis.

Setup

  1. Get files

     git clone https://github.com/pierrepo/MalariaSmearSearch.git
     cd MalariaSmearSearch
    
  2. Install virtualenv

     sudo pip3 install virtualenv
    
  3. Create virtual environment

     virtualenv -p /usr/bin/python3 venv
    
  4. Activate virtualenv

     source venv/bin/activate
    
  5. Install requirements

     pip install -r requirements.txt
    
  6. Initialize database

     python setup-db.py
    
  7. Quit virtualenv

     deactivate
    

Usage

  1. Update project repository

     git pull
    
  2. Activate virtualenv

     source venv/bin/activate
    
  3. Update requirements

     pip install -r requirements.txt
    
  4. Run Python webserver

     python __init__.py
    
  5. Open web browser at http://127.0.0.1:5000/

  6. Kill web app

     ctrl-c
    
  7. Quit virtualenv

     deactivate