|
942
|
1 |
#!/bin/bash |
|
|
2 |
|
|
|
3 |
echo "Compiling Metadataplayer" |
|
|
4 |
|
|
|
5 |
sh ../res/ant/bin/ant -f client.xml |
|
|
6 |
|
|
|
7 |
echo "Copying to Platform :" |
|
|
8 |
|
|
|
9 |
echo " Copying core files and widgets" |
|
|
10 |
|
|
|
11 |
cp -R ../../test/metadataplayer/* ~/shared/platform/src/ldt/ldt/static/ldt/metadataplayer |
|
|
12 |
|
|
|
13 |
echo " Copying JS libs" |
|
|
14 |
|
|
|
15 |
cp -R ../../src/js/libs/*.js ~/shared/platform/src/ldt/ldt/static/ldt/js |
|
|
16 |
|
|
|
17 |
echo " Copying SWF libs" |
|
|
18 |
|
|
|
19 |
cp -R ../../src/js/libs/*.swf ~/shared/platform/src/ldt/ldt/static/ldt/swf |
|
|
20 |
|
|
|
21 |
echo "Activating virtual environment" |
|
|
22 |
|
|
|
23 |
source ~/venv_pf/activate.sh |
|
|
24 |
|
|
|
25 |
cd ~/shared/platform/web |
|
|
26 |
|
|
|
27 |
echo "Collecting static files" |
|
|
28 |
|
|
|
29 |
python manage.py collectstatic --noinput |
|
|
30 |
|