Skip to content
This repository has been archived by the owner on Dec 22, 2020. It is now read-only.

pierrepo/MalariaSmearSearch

Repository files navigation

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