/widgets

Widgets about members of Congress, for embedding into news articles and blog posts

Primary LanguageHTMLGNU General Public License v3.0GPL-3.0

Sunlight Widgets

A project funded by the Knight Foundation.

Set up

This is a Rails 3 app, so make note of the required use of the bundler gem.

If you have commit rights:

git clone git@github.com:sunlightlabs/widgets.git

Read-only:

git clone git://github.com/sunlightlabs/widgets.git

Install the required gems:

bundle install

Note that the script/xxx methods are now replaced with the rails command.

rails console
rails server

Features

A basic bio widget example is live at:

http://widgets.local/widgets/bio

Search works. Just put in a name, district, state, or street address.

Replace widgets.local with your localhost name and port.