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.
This project is in early development. We also discuss potential features and design decisions in the rva-screening-ui-prototypes repo.
The application is built with Python and Flask.
DATABASE_URL=[db connection string]— For example,
- 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:
- Install Python requirements:
pip install -r requirements.txt
- Install front end requirements:
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:
- Create mock data, including user accounts:
- Start server:
- After pulling down new code:
pip install -r requirements.txt make db_update
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
make test to run all the tests.
At this early stage, you should email us (the Richmond CfA Fellowship Team) if you're interested in helping with the project: firstname.lastname@example.org.