# Osler

This is our clintools project, which is a collection for all our
patient tracking. It's a django project.

![Build Status](https://travis-ci.org/SaturdayNeighborhoodHealthClinic/osler.svg?branch=master)

## Running locally

First, clone our repository

```bash
git clone https://github.com/SaturdayNeghborhoodHealthClinic/clintools.git
```

First, get [pip](https://pip.pypa.io/en/stable/).

We also recommend running Osler in a virtual environment.
If you're going to run our project in a virtual env do th following:

```bash
pip install virtualenv
virtualenv venv
source venv/bin/activate
```

Then use pip install our dependencies with 

```bash
pip install -r requirements.txt
```

(Python dependencies are stored in `requirements.txt`)

Once you've done that, *from the `clintools/` build the test database with

```bash
sh scripts/reset_db.sh
```

This script is also used to rebuild the test database after making database
changes require migrations. Then, you can run the project in debug mode with

```bash
python manage.py runserver --settings clintools.debug_settings
```

Once you have it running, you should be able to log into the debug database-backed
app with the user 'jrporter' with password 'password'.

# Osler

This is our clintools project, which is a collection for all our
patient tracking. It's a django project.

![Build Status](https://travis-ci.org/SaturdayNeighborhoodHealthClinic/osler.svg?branch=master)
[![codecov.io](https://codecov.io/github/SaturdayNeighborhoodHealthClinic/osler/coverage.svg?branch=master)](https://codecov.io/github/SaturdayNeighborhoodHealthClinic/osler?branch=master)

## Running locally

First, clone our repository

```bash
git clone https://github.com/SaturdayNeghborhoodHealthClinic/clintools.git
```

First, get [pip](https://pip.pypa.io/en/stable/).

We also recommend running Osler in a virtual environment.
If you're going to run our project in a virtual env do th following:

```bash
pip install virtualenv
virtualenv venv
source venv/bin/activate
```

Then use pip install our dependencies with 

```bash
pip install -r requirements.txt
```

(Python dependencies are stored in `requirements.txt`)

Once you've done that, *from the `clintools/` build the test database with

```bash
sh scripts/reset_db.sh
```

This script is also used to rebuild the test database after making database
changes require migrations. Then, you can run the project in debug mode with

```bash
python manage.py runserver --settings clintools.debug_settings
```

Once you have it running, you should be able to log into the debug database-backed
app with the user 'jrporter' with password 'password'.

Add codecov badge to readme.
Add codecov badge to readme.
