sbin/build/compil-to-platform.sh.tmpl
author durandn
Tue, 01 Sep 2015 15:31:46 +0200
changeset 1046 eb77616c245f
parent 942 30f650574bca
permissions -rw-r--r--
Updated LatestAnnotation, CurrentSegmentInfobox, AnnotationController and AnnotationList widgets to use timerange to find the current segment when the corresponding option is used + CurrentSegmentInfobox now has an option for editing the current segment + LatestAnnotation now has a "Copy and edit" button that allows to use the text from the currently displayed annotation into the CreateAnnotation widget textarea

#!/bin/bash

echo "Compiling Metadataplayer"

sh ../res/ant/bin/ant -f client.xml

echo "Copying to Platform :"

echo "  Copying core files and widgets"

cp -R ../../test/metadataplayer/* ~/shared/platform/src/ldt/ldt/static/ldt/metadataplayer

echo "  Copying JS libs"

cp -R ../../src/js/libs/*.js ~/shared/platform/src/ldt/ldt/static/ldt/js

echo "  Copying SWF libs"

cp -R ../../src/js/libs/*.swf ~/shared/platform/src/ldt/ldt/static/ldt/swf

echo "Activating virtual environment"

source ~/venv_pf/activate.sh

cd ~/shared/platform/web

echo "Collecting static files"

python manage.py collectstatic --noinput