Skip to content
for tracking and publishing the motions, amendments, and votes of Dublin City councillors
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.semaphore
app
bin
config
db
lib
log
public
spec
tmp
vendor
.env.sample
.gitignore
.rspec
Gemfile
Gemfile.lock
Guardfile
LICENSE
Procfile
README.md
Rakefile
config.ru
package.json

README.md

README

This runs counciltracker.ie which tracks and publishes the motions, amendments, and votes of Dublin City councillors. It's a fairly straightforward Rails app with a few little hacks to speed up the annoying data entry involved in keeping this up to date. It needs more documentation and test coverage!

Get set up

Setting up the database and running rake db:seed will provide CouncilTracker with the composition of Dublin City Council as of February 2019 (councillors, party affiliations, etc).

    $ bundle
    $ rake db:create
    $ rake db:migrate
    $ rake db:seed

Customise the environmental variables:

    $ cp .env.sample .env

The app assumes you're using S3 for storing councillor portraits, but if you're not you can edit /config/initializers/carrierwave.rb to store images somewhere else.

I use Foreman to run things locally:

    $ foreman start

I have this set up for deployment on Heroku. But you can deploy it elsewhere, I bet.

Some notes

This code exists to run counciltracker.ie and would need some amount of rejiggering to work for other councils or bodies. I'm not actively maintaining it as an open-source project, but you're most welcome to take the code and use it for ... whatever. If you add a feature we might find useful, I welcome pull requests.

Contact

Email me at brian@elbow.ie and I'd be happy to answer any questions.

License

Apache 2.0

You can’t perform that action at this time.