Skip to content

pombredanne/Bundestagger

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BundesTagger

BundesTagger.de is a site for annotating and referencing parts of German parliament (the Bundestag) protocols. It's a Django project and created by Stefan Wehrmeyer.

This project does not contain parsers for the parliament protocol PDF files, it's just the website as seen on Bundestagger.de.

Overview of Django Apps Used

This project contains mostly only bundestagger specific code, all generic bits written for it are in their own git repository (see requirements.txt). The following apps are included in bundestagger:

  • account: A simpler contrib.auth with only OpenID as login (uses django_openid)

  • api: provides RESTish resource handlers via piston

  • bundesstats: can calculate statistics and store the results and underlying function

  • bundestag: all models and views around parliament debates

  • bundestagging: views and templatetags on top of django_tagging

  • helper: helper stuff

  • search: not in use right now, but contains some code to enable Yahoo BOSS search

In addition to the external apps mentioned above (django_openid, piston, tagging), the following apps come in as dependencies:

License

All dependencies are either MIT, BSD or New BSD. This project is licensed under the MIT License.

Installation

In a fresh virtualenv (you are using virutalenvs, right?):

git clone git://github.com/stefanw/Bundestagger.git

Have a look at the dependencies in requirements.txt (e.g. if you don't want to use MySQL, remove it). Then do:

pip install -r requirements.txt

Setup a local_settings.py with appropriate Database settings.

You can load a dump with all available parliament data from my website. Be aware that this dataset is only complete for the 16th German Bundestag, it contains data the end of 15th and the start of 17th. Also note that there is no guarantee for consistency, correctness or completeness of the data.

Then do:

python manage.py syncdb
python manage.py runserver

If everything works fine, you have now a bundestagger server running. To compress your media files, adapt the COMPRESS_* in settings.py and run

python manage.py synccompress

About

Django project for annotating and referencing parts of the parliament protocols of the German Bundestag.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published