/prehab-backend

Prehab is a project that aims to give the doctor the ability to monitor and control the health of any patient with a hepatobiliary disease in the period leading up to the operation. Our main goal is to develop a Peri-Operative Multimodal Rehabilitation program, based on protocolized attitudes supported by scientific evidence, with a focus on functional recovery of the patient, reduction of the perioperative mortality rate and length of hospital stay.

Primary LanguagePython

PreHab Backend

Coverage Status Build Status Codacy Badge

Now with CI on Travis and CD on Jenkins

Migrate Database

python manage.py makemigrations prehab_app

python manage.py migrate prehab_app

Sync Database with information (Only if needed)

python manage.py loaddata prehab/fixtures/*

Run Unit Tests

coverage run manage.py test prehab_app

Lint All the Code

autopep8 ./ --recursive --in-place --pep8-passes 2000 --verbose --max-line-length 140

Get Coverage Report in HTML

coverage html