Civic Tech Projects with Prevention Point
Prevention Point Philadelphia is a private nonprofit organization providing harm reduction services to Philadelphia and the surrounding area.
Currently, they are storing data from their programs in separate Excel spreadsheets, disparate EHRs, and partner data systems. This prevents them from being able to see all activities associated with an individual program participant, and also makes it impossible for them to do meaningful analyses that monitor program health and evaluate efforts.
This project would work to migrate all of the disparate data sources into one system, make a UI that allows Prevention Point to access all participant data in one system, and increase the ease with which program coordinators can evaluate and monitor activities.
- Read through the Wiki.
- Familiarize yourself with the agreed upon project change management practices.
This is a Code for Philly project operating under their code of conduct.
Instructions on how to run the project outside of a container.
- Activate virtualenv
- Start the postgres database container
docker-compose up -d db
- Migrate the database
python manage.py migrate
- Seed the database:
python manage.py seed
- Create a superuser:
python manage.py createsuperuser
- Start the app:
python manage.py runserver 0.0.0.0:8000
- Now you can:
- Navigate to the django admin page at localhost:8000/admin
- Connect to the running postgres instance
$ docker-compose exec db psql -U postgres
- Shut down the app:
$ docker-compose down
- Make sure you have
- From the project's root directory,
yarnto install dependencies
yarn devand navigate to
For more information on the front-end please see the front-end README
Instructions on running the project inside docker.
This project implements the Scripts To Rule Them All interface for developers:
script/server— Brings a fully working environment up at localhost:8080
script/setup— Run after
script/serverto initialize local database with seed data
script/update— Run after changing code or switching branches to refresh server