Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

aka Pippi Longstrings

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 apache
Octocat-spinner-32 bonobo
Octocat-spinner-32 brain
Octocat-spinner-32 media
Octocat-spinner-32 notes
Octocat-spinner-32 tagcloud
Octocat-spinner-32 templates
Octocat-spinner-32 utils
Octocat-spinner-32 view
Octocat-spinner-32 README.textile
Octocat-spinner-32 __init__.py
Octocat-spinner-32 manage.py
Octocat-spinner-32 notes.muse
Octocat-spinner-32 settings.py
Octocat-spinner-32 urls.py
README.textile

le-n-x is a set of tools for navigating legislation.

© 2009-2011 by Stefan Marsiske <stefan.marsiske@gmail.com>, Adam Tauber <asciimoo@gmail.com>
Licensed under the GNU Affero General Public License v3 (at your option) any later version.

  • arach: artful shell script to scrape eur-lex legislative texts.
  • bonobo: greasemonkey script for displaying tagclouds when browsing eur-lex
  • fetch et all: django backend for bonobo.

The django backend has some dependencies:

Installation
bc.

  1. install OS-level dependencies
    sudo aptitude install git mongodb-server mongodb-clients python-virtualenv python-dev libhunspell-dev hunspell-en-us tidy libxslt1-dev
  2. clone pippi
    git clone git://github.com/stef/le-n-x.git pippi
    cd lenx
  3. create virtual environment
    virtualenv —no-site-packages env
    easy_install Django beautifulsoup pymongo django-tinymce pyyaml django-registration django-piston lxml guess-language
    easy_install ‘http://download.berlios.de/utidylib/uTidylib-0.2.zip’
    easy_install ‘http://nltk.googlecode.com/files/nltk-2.0.1rc1.zip’
    easy_install ‘https://pyhunspell.googlecode.com/files/hunspell-0.1.tar.gz’
  4. on debian unstable this might work (or you can modify pyhunspell to link against 1.3)
    ln -s /usr/lib/i386-linux-gnu/libhunspell-1.3.so /usr/lib/i386-linux-gnu/libhunspell-1.2.so
  5. init the db
    python ./manage.py syncdb
  6. serve tinymce – may need to be adjusted accordingly – use tab wisely ;)
    cp -r env/lib/python2.7/site-packages/django_tinymce-1.5.1a2-py2.7.egg/tinymce/static/tiny_mce/ media/js/
  7. and finally
    python ./manage.py runserver

Thx for IS support to Björgvin Ragnarsson

Something went wrong with that request. Please try again.