Health service prescreener for sharing patient eligibility data.
Python HTML JavaScript CSS PLpgSQL Makefile Mako
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
add_data
app
front
migrations
tests
var/uploads/documentimages
.aptible.yml
.dockerignore
.gitignore
.travis.yml
Dockerfile
LICENSE.md
Makefile
Procfile
README.md
config.py
db.py
gulpfile.js
package.json
requirements.txt
run.py
setup.cfg
upload_assets.py

README.md

rva-screening

What

A prototype of an application that will allow safety net health services in Richmond, VA to share patients' financial screening information more easily. For more information, check out our blog.

Status

This project is in early development. We also discuss potential features and design decisions in the rva-screening-ui-prototypes repo.

Who

The 2015 Code for America Fellows in Richmond, VA:

Ben Golder (bengolder) Emma Smithayer (esmithayer) Sam Matthews (mapsam)

How (Installation)

The application is built with Python and Flask.

Environment variables

  • DATABASE_URL=[db connection string] — For example, postgresql://localhost/rva-screening

Install

  • Install a PostgreSQL database (how to)
  • A virtual environment will make it easier to manage dependencies.
  • Clone the repo: git clone https://github.com/codeforamerica/rva-screening
  • Change into the project directory: cd rva-screening
  • Install Python requirements: pip install -r requirements.txt
  • Install front end requirements: npm install and npm install gulp -g
  • Create two databases:
createdb rva-screening
createdb rva-screening-test
  • Add the HSTORE extension
psql rva-screening -c CREATE EXTENSION hstore;
psql rva-screening-test -c CREATE EXTENSION hstore;
  • Set up the database: make new_db
  • Create mock data, including user accounts: make data
  • Start server: make run
  • After pulling down new code:
pip install -r requirements.txt
make db_update

Testing

To run the tests, you'll need a new database. By default, the code looks for a database called 'screener_test'. Set the TEST_DATABASE_URL environment variable if you choose a different name.

psql
create database screener_test

Run make test to run all the tests.

Contribute

At this early stage, you should email us (the Richmond CfA Fellowship Team) if you're interested in helping with the project: richmond@codeforamerica.org.