https://github.com/stef/le-n-x
aka Pippi Longstrings
https://github.com/stef/le-n-x
Last synced: about 1 year ago
JSON representation
aka Pippi Longstrings
- Host: GitHub
- URL: https://github.com/stef/le-n-x
- Owner: stef
- Created: 2009-12-22T12:05:55.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2013-10-16T19:26:07.000Z (over 12 years ago)
- Last Synced: 2025-04-16T00:13:33.379Z (about 1 year ago)
- Language: Python
- Homepage: http://pippi.euwiki.org
- Size: 5.2 MB
- Stars: 10
- Watchers: 2
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.textile
Awesome Lists containing this project
README
le-n-x is a set of tools for navigating legislation.
(C) 2009-2011 by Stefan Marsiske , Adam Tauber
Licensed under the GNU Affero General Public License v3 (at your option) any later version.
!http://api.flattr.com/button/button-compact-static-100x17.png!:http://flattr.com/thing/16236/Pippi-Longstrings
* 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:
* libhunspell >=1.3 + dictionaries
* "pyhunspell":http://code.google.com/p/pyhunspell
* "beautifulsoup":http://www.crummy.com/software/BeautifulSoup/
* "nltk":http://www.nltk.org/
* guess-language
* psyco
* pymongo
* django-tinymce
* utidylib
Installation
bc.
# install OS-level dependencies
sudo aptitude install git mongodb-server mongodb-clients python-virtualenv python-dev libhunspell-dev hunspell-en-us tidy libxslt1-dev
# clone pippi
git clone git://github.com/stef/le-n-x.git pippi
cd lenx
# 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'
# 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
# init the db
python ./manage.py syncdb
# 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/
# and finally
python ./manage.py runserver
Thx for IS support to Björgvin Ragnarsson