sbin/build/compil-to-platform.sh.tmpl
author durandn
Fri, 18 Sep 2015 14:41:51 +0200
changeset 1051 3820cf5fe29e
parent 942 30f650574bca
permissions -rw-r--r--
Added support for custom button texts + Added support for deleting markers + reworked the way the "+" and "-" buttons work + Added a "placeholder" marker when clicking "+" to show where in the timeline the marker will be posted

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