============
Ldt Platform
============

The ldt platform, is a django module allowing the annotation, indexation, consultation of temporal content (audio, video)


trick:
compile messages for js
python ../../../web/ldtplatform/manage.py makemessages -a -d djangojs
python ../../../web/ldtplatform/manage.py compilemessages


============
Dependencies
============
Python : Python Software Foundation License
Django==1.3.1 : BSD
JCC==2.8 : Apache Public licence 2.0
PIL==1.1.7 : Python (MIT style) : http://www.pythonware.com/products/pil/license.htm
South==0.7.3 : Apache Public licence 2.0
distribute==0.6.14 : Python Software Foundation License or Zope Public License
django-guardian==1.0.3 : BSD http://packages.python.org/django-guardian/license.html
django-oauth==1.1 : BSD http://code.larlet.fr/django-oauth/raw/549a34c81394/LICENSE
django-openid-consumer==0.1.1 BSD http://django-openid-consumer.googlecode.com/svn/trunk/LICENSE
django-piston==0.2.2 BSD 
django-registration==0.8-alpha-1 BSD https://bitbucket.org/ubernostrum/django-registration/raw/27bccd108cde/LICENSE
django-social-auth==0.3.10 BSD Like https://raw.github.com/uswaretech/Django-Socialauth/master/docs/LICENSE
django-tagging==0.3.1 BSD http://django-tagging.googlecode.com/svn/trunk/LICENSE.txt
httplib2==0.6.0 MIT http://httplib2.googlecode.com/hg/README
lucene==3.1.0 Apache 2.0 http://www.apache.org/licenses/LICENSE-2.0
lxml==2.3.1 BSD https://raw.github.com/lxml/lxml/master/doc/licenses/BSD.txt
libxml2, libxslt2 : MIT http://www.opensource.org/licenses/mit-license.html
oauth2==1.5.167 : MIT https://raw.github.com/simplegeo/python-oauth2/master/LICENSE.txt
python-openid==2.2.5 : Apache Software License https://raw.github.com/openid/python-openid/master/LICENSE
sorl-thumbnail==11.12 : BSD https://raw.github.com/sorl/sorl-thumbnail/master/LICENSE

deployment:
psycopg2==2.4 : LGPL or ZPL https://dndg.it/cgi-bin/gitweb.cgi?p=public/psycopg2.git;a=blob_plain;f=LICENSE;h=dd7c124d8c666722ef3e0e5637412f5c7dbdf1f2;hb=HEAD
wsgiref==0.1.2 : PSF or ZPL 
uWSGI : deployment GPL V2.0
pylibmc==1.2.2 : 3-clause BSD http://www.opensource.org/licenses/bsd-license.php
python-memcached==1.48 : Python Software Foundation License 


============
javascript
============
jquery http://craigsworks.com/projects/qtip2/
jquery nyroModal 
jquery qtip MIT or GPLv2 licenses
jquery sparkline New BSD License http://omnipotent.net/jquery.sparkline/
jquery textchange 
jquery tools
jquery login
jquery validate
jquery ui
jwplayer
popcorn.js
raphael.js
swfobject.js
ZeroClipboard
tiny_mce


==============
Unit Test
==============

In a terminal :
	python manage.py test %test_api%
Will launch all the tests of the api

For example :
	python manage.py test ldt_utils
Will launch all the test defined in /ldt_utils/tests	

==============
Building Metadataplayer
==============

Run the script in sbin/build/ folder to build the metadataplayer from the sources.
	cd sbin/build
	bash compil-mdp-from-sources <mdplayer_repo_path>
	
Alternatively you can put a "mdplayer_path" file (containing the ABSOLUTE path to the metadataplayer repository) to the sbin/build repo then call the script without argument
	cd sbin/build
	bash compil-mdp-from-sources