Folio is an Electronic Medical Record (EMR) tailored for a relative of mine.
pyfolio is the current implementation of Folio, which was previously written in PHP (Yii 2).
- Python 3.12
- Make
- PostgreSQL 15
- AWS S3
Install the dependencies:
pip install -r requirements.txt
Create a .env
file in the root directory, with the following variables:
DATABASE_URL
: A PostgreSQL connection URI.DJANGO_SETTINGS_MODULE
: The current Django settings you want to use (e.g.pyfolio.settings.dev
).AWS_ACCESS_KEY_ID
&AWS_SECRET_ACCESS_KEY
: AWS access keys.
Run it:
./manage.py runserver
Run the test
target:
make test