sbin/build/compil-to-platform.sh.tmpl
author durandn
Fri, 03 Jul 2015 16:57:10 +0200
changeset 1037 5c0416e8bba1
parent 942 30f650574bca
permissions -rw-r--r--
AnnotationsList widget new features: show creation date for annotations, hide/show feature on signal trigger, filter by username

#!/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