MalariaSmearSearch is a database of blood smears used in malaria diagnosis.
-
Get files
git clone https://github.com/pierrepo/MalariaSmearSearch.git cd MalariaSmearSearch
-
Install virtualenv
sudo pip3 install virtualenv
-
Create virtual environment
virtualenv -p /usr/bin/python3 venv
-
Activate virtualenv
source venv/bin/activate
-
Install requirements
pip install -r requirements.txt
-
Initialize database
python setup-db.py
-
Quit virtualenv
deactivate
-
Update project repository
git pull
-
Activate virtualenv
source venv/bin/activate
-
Update requirements
pip install -r requirements.txt
-
Run Python webserver
python __init__.py
-
Open web browser at http://127.0.0.1:5000/
-
Kill web app
ctrl-c
-
Quit virtualenv
deactivate