Skip to main content

Core functions for family

Project description

Reusable Django app providing the core functions for Councilmatic


Install OS level dependencies:

  • Python 3.4
  • PostgreSQL 9.4 +

Install app requirements

We recommend using virtualenv and virtualenvwrapper for working in a virtualized development environment. Read how to set up virtualenv.

Once you have virtualenvwrapper set up,

mkvirtualenv chi-councilmatic
git clone
cd chi-councilmatic
pip install -r requirements.txt

Afterwards, whenever you want to use this virtual environment to work on chi-councilmatic, run workon chi-councilmatic

Create your settings file

cp councilmatic/ councilmatic/

Then edit councilmatic/ - USER should be your username

Setup your database

Before we can run the website, we need to create a database.

createdb chi_councilmatic

Then, run migrations

python migrate --no-initial-data

Create an admin user - set a username & password when prompted

python createsuperuser

Importing data from the open civic data api

Run the loaddata management command. This will take a few minutes.

python loaddata

Running Chicago Councilmatic locally

python runserver

navigate to http://localhost:8000/


  • David Moore - project manager
  • Forest Gregg - Open Civic Data (OCD) and Legistar scraping
  • Cathy Deng - data models and loading
  • Derek Eder - front end
  • Eric van Zanten - search and dev ops

Errors / Bugs

If something is not behaving intuitively, it is a bug, and should be reported. Report it here:

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Commit, do not mess with rakefile, version, or history.
  • Send a pull request. Bonus points for topic branches.

Project details

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-councilmatic-0.1.tar.gz (6.6 MB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page