The goal of this project is to get the imago project, scraper-us-municipal project, and councilmatic-starter-template all working together.
- Install docker an docker-compose if you do not have them installed
- Clone this project into the the folder
scrapers
in this project: https://github.com/datamade/scrapers-us-municipal.
- Run
docker-compose up
to start the database and scrapers containers. Keep this terminal window running. - Run the initial migration
docker-compose exec scrapers pupa dbinit us
- Ensure the containers are running. If they are still running from the Initializing step above continue to step 2. Otherwise start the containers:
docker-compose up
. docker-compose exec scrapers /bin/bash
(ssh's into the scrapers project)pupa update sacramento
(runs the update script)
Docker stuff: https://docs.docker.com/compose/django/#create-a-django-project
Open civic data api: https://github.com/opencivicdata/imago
Scrapers US Municipal: opencivicdata/scrapers-us-municipal#243
Councilmatic: https://github.com/datamade/councilmatic-starter-template,