948
|
1 #!/bin/bash -e |
|
2 |
|
3 CUR_DIR=`pwd` |
|
4 SCRIPT_DIR=`dirname $0` |
|
5 |
|
6 cd $SCRIPT_DIR |
|
7 wget https://cdn.sencha.com/ext/gpl/ext-4.2.1-gpl.zip |
|
8 unzip ext-4.2.1-gpl.zip |
|
9 ln -s ext-4.2.1.883 extjs |
|
10 |
|
11 mkdir -p resources/lib/ext |
|
12 cd resources/lib |
|
13 |
|
14 wget https://github.com/eligrey/FileSaver.js/archive/master.zip \ |
|
15 -O FileSaver-js.zip |
|
16 unzip FileSaver-js.zip |
|
17 ln -s FileSaver.js-master FileSaver |
|
18 |
|
19 wget https://github.com/eligrey/Blob.js/archive/master.zip \ |
|
20 -O Blob-js.zip |
|
21 unzip Blob-js.zip |
|
22 ln -s Blob.js-master Blob |
|
23 |
|
24 wget https://github.com/openlayers/openlayers/archive/release-2.13.1.zip \ |
|
25 -O OpenLayers-2-13-1.zip |
|
26 unzip OpenLayers-2-13-1.zip |
|
27 ln -s openlayers-release-2.13.1/build OpenLayers |
|
28 cd OpenLayers |
|
29 python build.py |
|
30 |
|
31 cd ../ext |
|
32 wget https://github.com/elmasse/Ext.i18n.Bundle/archive/v0.3.3.zip \ |
|
33 -O Ext-i18n-Bundle-v0-3-3.zip |
|
34 unzip Ext-i18n-Bundle-v0-3-3.zip |
|
35 ln -s Ext.i18n.Bundle-0.3.3/i18n i18n |
|
36 |
|
37 wget https://github.com/ivan-novakov/extjs-upload-widget/archive/1.1.1.zip \ |
|
38 -O Ext-ux-Upload-1-1-1.zip |
|
39 unzip Ext-ux-Upload-1-1-1.zip |
|
40 ln -s extjs-upload-widget-1.1.1/lib/upload upload |
|
41 |
|
42 cd $CUR_DIR |