Refactoring and improving idleg in Python Flask
HTML PHP Python JavaScript CSS Shell
Permalink
Failed to load latest commit information.
app added bill merge to update from server Jan 19, 2017
bin bill routing successful Dec 8, 2015
include
lib
php_archive cleaned up root directory Oct 31, 2015
.gitignore fixed hamburger menu and added new configs Jul 20, 2016
LICENSE Initial commit Oct 15, 2015
MANIFEST.ini incoporated dash, but not rendering Nov 3, 2015
Procfile still can't run this mofo Jul 27, 2016
README.md worked on map for legislator page, filter by year, styles Sep 21, 2016
app.db added bill merge to update from server Jan 19, 2017
config.py
requirements.txt fixed up most of bill detail page Jan 15, 2017
run.py run file tweak Jul 27, 2016
runtime.txt adding procfile and runtime file for heroku Jul 27, 2016
setup.py fixed hamburger menu and added new configs Jul 20, 2016

README.md

IDleg

Being a spinoff of the #idleg Twitter hashtag, pronounced by some as Idle-G.

Interactive Portal to Idaho Legislature - BETA RELEASE

In development, i.e. use at your own risk

This project is part of a master's degree in "Data Journalism" at Boise State University. I'm building an alternative legislative portal for the state of Idaho that:

  • Uses data from the Sunlight Foundation Open States Project API to provide a rich dataset of state legislative data
  • Provides social tools for bills and other legislative actions, allowing constituents to "testify" on bills online
  • Provides some basic statistics on legislative actions
  • Provides a means to parse votes in various ways - by bill, lawmaker, party, etc.
  • Demonstrates the type of information that hacker-journalists can access
  • Demonstrates the cross-over between "open government" and "open news" initiatives

  • In this idleg_flask repo, I'm refactoring and building out the project with Python Flask

You can read more about my MA project on my blog and look for beta releases and other updates at idleg.info soon.

Setup for Developers

Requirements

    $ pip install virtualenv
    $ virtualenv idleg_flask
    $ cd idleg_flask
    $ source bin/activate
    $ pip install flask
    $ git clone https://github.com/paleomedia/idleg_flask.git
  • Finally, install dependencies (note: requirements.txt contains some bloat... will clean up dependencies at a later date)
    $ pip install -r requirements.txt

I think that will work... but please let us know if you run into problems getting it running. And remember, the app is still in development...

How to run

    python run.py

or

    ./run.py

Contributors

@paleomedia

Technical Advisors

@nilabmm @jwoodsy1