src/ldt/README
author ymh <ymh.work@gmail.com>
Fri, 18 Oct 2024 10:27:45 +0200
changeset 1508 14faad772c20
parent 1447 470130d647cb
permissions -rw-r--r--
upgrade metadataplayer
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
bdf22b140727 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
============
bdf22b140727 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
Ldt Platform
bdf22b140727 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
============
bdf22b140727 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
bdf22b140727 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
The ldt platform, is a django module allowing the annotation, indexation, consultation of temporal content (audio, video)
bdf22b140727 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
bdf22b140727 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
589
e7410c4df032 template cleaning, translation in js, and add generic google analytics
ymh <ymh.work@gmail.com>
parents: 189
diff changeset
     8
trick:
e7410c4df032 template cleaning, translation in js, and add generic google analytics
ymh <ymh.work@gmail.com>
parents: 189
diff changeset
     9
compile messages for js
e7410c4df032 template cleaning, translation in js, and add generic google analytics
ymh <ymh.work@gmail.com>
parents: 189
diff changeset
    10
python ../../../web/ldtplatform/manage.py makemessages -a -d djangojs
e7410c4df032 template cleaning, translation in js, and add generic google analytics
ymh <ymh.work@gmail.com>
parents: 189
diff changeset
    11
python ../../../web/ldtplatform/manage.py compilemessages
615
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    12
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    13
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    14
============
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    15
Dependencies
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    16
============
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    17
Python : Python Software Foundation License
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    18
Django==1.3.1 : BSD
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    19
JCC==2.8 : Apache Public licence 2.0
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    20
PIL==1.1.7 : Python (MIT style) : http://www.pythonware.com/products/pil/license.htm
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    21
South==0.7.3 : Apache Public licence 2.0
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    22
distribute==0.6.14 : Python Software Foundation License or Zope Public License
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    23
django-guardian==1.0.3 : BSD http://packages.python.org/django-guardian/license.html
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    24
django-oauth==1.1 : BSD http://code.larlet.fr/django-oauth/raw/549a34c81394/LICENSE
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    25
django-openid-consumer==0.1.1 BSD http://django-openid-consumer.googlecode.com/svn/trunk/LICENSE
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    26
django-piston==0.2.2 BSD 
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    27
django-registration==0.8-alpha-1 BSD https://bitbucket.org/ubernostrum/django-registration/raw/27bccd108cde/LICENSE
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    28
django-social-auth==0.3.10 BSD Like https://raw.github.com/uswaretech/Django-Socialauth/master/docs/LICENSE
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    29
django-tagging==0.3.1 BSD http://django-tagging.googlecode.com/svn/trunk/LICENSE.txt
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    30
httplib2==0.6.0 MIT http://httplib2.googlecode.com/hg/README
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    31
lucene==3.1.0 Apache 2.0 http://www.apache.org/licenses/LICENSE-2.0
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    32
lxml==2.3.1 BSD https://raw.github.com/lxml/lxml/master/doc/licenses/BSD.txt
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    33
libxml2, libxslt2 : MIT http://www.opensource.org/licenses/mit-license.html
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    34
oauth2==1.5.167 : MIT https://raw.github.com/simplegeo/python-oauth2/master/LICENSE.txt
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    35
python-openid==2.2.5 : Apache Software License https://raw.github.com/openid/python-openid/master/LICENSE
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    36
sorl-thumbnail==11.12 : BSD https://raw.github.com/sorl/sorl-thumbnail/master/LICENSE
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    37
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    38
deployment:
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    39
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
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    40
wsgiref==0.1.2 : PSF or ZPL 
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    41
uWSGI : deployment GPL V2.0
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    42
pylibmc==1.2.2 : 3-clause BSD http://www.opensource.org/licenses/bsd-license.php
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    43
python-memcached==1.48 : Python Software Foundation License 
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    44
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    45
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    46
============
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    47
javascript
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    48
============
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    49
jquery http://craigsworks.com/projects/qtip2/
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    50
jquery nyroModal 
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    51
jquery qtip MIT or GPLv2 licenses
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    52
jquery sparkline New BSD License http://omnipotent.net/jquery.sparkline/
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    53
jquery textchange 
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    54
jquery tools
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    55
jquery login
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    56
jquery validate
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    57
jquery ui
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    58
jwplayer
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    59
popcorn.js
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    60
raphael.js
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    61
swfobject.js
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    62
ZeroClipboard
006f1e3e5398 clean packages
ymh <ymh.work@gmail.com>
parents: 589
diff changeset
    63
tiny_mce
888
77d216688495 Unit test Update
rougeronj
parents: 615
diff changeset
    64
77d216688495 Unit test Update
rougeronj
parents: 615
diff changeset
    65
77d216688495 Unit test Update
rougeronj
parents: 615
diff changeset
    66
==============
77d216688495 Unit test Update
rougeronj
parents: 615
diff changeset
    67
Unit Test
77d216688495 Unit test Update
rougeronj
parents: 615
diff changeset
    68
==============
77d216688495 Unit test Update
rougeronj
parents: 615
diff changeset
    69
77d216688495 Unit test Update
rougeronj
parents: 615
diff changeset
    70
In a terminal :
77d216688495 Unit test Update
rougeronj
parents: 615
diff changeset
    71
	python manage.py test %test_api%
77d216688495 Unit test Update
rougeronj
parents: 615
diff changeset
    72
Will launch all the tests of the api
77d216688495 Unit test Update
rougeronj
parents: 615
diff changeset
    73
77d216688495 Unit test Update
rougeronj
parents: 615
diff changeset
    74
For example :
77d216688495 Unit test Update
rougeronj
parents: 615
diff changeset
    75
	python manage.py test ldt_utils
1447
470130d647cb import updates to mdplayer into the platform + added a script to easily build mdplayer from repository + fix the mdplayer config page
durandn
parents: 888
diff changeset
    76
Will launch all the test defined in /ldt_utils/tests	
470130d647cb import updates to mdplayer into the platform + added a script to easily build mdplayer from repository + fix the mdplayer config page
durandn
parents: 888
diff changeset
    77
470130d647cb import updates to mdplayer into the platform + added a script to easily build mdplayer from repository + fix the mdplayer config page
durandn
parents: 888
diff changeset
    78
==============
470130d647cb import updates to mdplayer into the platform + added a script to easily build mdplayer from repository + fix the mdplayer config page
durandn
parents: 888
diff changeset
    79
Building Metadataplayer
470130d647cb import updates to mdplayer into the platform + added a script to easily build mdplayer from repository + fix the mdplayer config page
durandn
parents: 888
diff changeset
    80
==============
470130d647cb import updates to mdplayer into the platform + added a script to easily build mdplayer from repository + fix the mdplayer config page
durandn
parents: 888
diff changeset
    81
470130d647cb import updates to mdplayer into the platform + added a script to easily build mdplayer from repository + fix the mdplayer config page
durandn
parents: 888
diff changeset
    82
Run the script in sbin/build/ folder to build the metadataplayer from the sources.
470130d647cb import updates to mdplayer into the platform + added a script to easily build mdplayer from repository + fix the mdplayer config page
durandn
parents: 888
diff changeset
    83
	cd sbin/build
470130d647cb import updates to mdplayer into the platform + added a script to easily build mdplayer from repository + fix the mdplayer config page
durandn
parents: 888
diff changeset
    84
	bash compil-mdp-from-sources <mdplayer_repo_path>
470130d647cb import updates to mdplayer into the platform + added a script to easily build mdplayer from repository + fix the mdplayer config page
durandn
parents: 888
diff changeset
    85
	
470130d647cb import updates to mdplayer into the platform + added a script to easily build mdplayer from repository + fix the mdplayer config page
durandn
parents: 888
diff changeset
    86
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
470130d647cb import updates to mdplayer into the platform + added a script to easily build mdplayer from repository + fix the mdplayer config page
durandn
parents: 888
diff changeset
    87
	cd sbin/build
470130d647cb import updates to mdplayer into the platform + added a script to easily build mdplayer from repository + fix the mdplayer config page
durandn
parents: 888
diff changeset
    88
	bash compil-mdp-from-sources