Skip to content

A lightweight medical records system for free clinics.

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

sebastianapw/osler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Osler

A free, open-source EHR for free clinics.

Built with Cookiecutter Django
License:GPLv3

Getting Started

  • First, build the docker images with:

    $ docker-compose -f local.yml build
    
  • To run the test server, then run:

    $ docker-compose -f local.yml up
    

For more info, have a look at the django-cookiecutter instructions for running locally with Docker.

Basic Commands

Setting Up Your Users

  • To create a normal user account, just go to Sign Up and fill out the form. Once you submit it, you'll see a "Verify Your E-mail Address" page. Go to your console to see a simulated email verification message. Copy the link into your browser. Now the user's email should be verified and ready to go.

  • To create an superuser account, use this command:

    $ python manage.py createsuperuser
    

For convenience, you can keep your normal user logged in on Chrome and your superuser logged in on Firefox (or similar), so that you can see how the site behaves for both kinds of users.

Running tests with py.test

Once you have a working build of the docker containers:

$ docker-compose -f local.yml run --rm django coverage run -m pytest

Test coverage

To run the tests, check your test coverage, and generate an HTML coverage report:

$ docker-compose -f local.yml run --rm django coverage run -m pytest
$ docker-compose -f local.yml run --rm django coverage html
$ open htmlcov/index.html

Deployment

See detailed cookiecutter-django Docker documentation.

About

A lightweight medical records system for free clinics.

Resources

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
COPYING

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 84.7%
  • HTML 14.2%
  • Shell 0.7%
  • Dockerfile 0.3%
  • SCSS 0.1%
  • CSS 0.0%