view install-dependencies.sh @ 1292:317ae6bfd647

Clone button only activated if an ort has been selected in the grid
author Maximilian Krambach <mkrambach@intevation.de>
date Wed, 01 Feb 2017 18:54:31 +0100
parents 16fd88e8c922
children 6075731bc4f1
line wrap: on
line source
#!/bin/bash -e

CUR_DIR=`pwd`
SCRIPT_DIR=`dirname $0`

cd $SCRIPT_DIR
curl -O https://cdn.sencha.com/ext/gpl/ext-4.2.1-gpl.zip
unzip -n ext-4.2.1-gpl.zip
ln -sf ext-4.2.1.883 extjs

mkdir -p resources/lib/ext
cd resources/lib

curl -L https://github.com/eligrey/FileSaver.js/archive/master.zip \
     -o FileSaver-js.zip
unzip -n FileSaver-js.zip
ln -sf FileSaver.js-master FileSaver

curl -L https://github.com/eligrey/Blob.js/archive/master.zip \
     -o Blob-js.zip
unzip -n Blob-js.zip
ln -sf Blob.js-master Blob

curl -L https://github.com/openlayers/ol2/archive/release-2.13.1.zip \
     -o OpenLayers-2-13-1.zip
unzip -n OpenLayers-2-13-1.zip
ln -sf ol2-release-2.13.1 OpenLayers
cd OpenLayers/build
python build.py full.cfg ../OpenLayers.js

cd ../../ext
curl -L https://github.com/elmasse/Ext.i18n.Bundle/archive/v0.3.3.zip \
     -o Ext-i18n-Bundle-v0-3-3.zip
unzip -n Ext-i18n-Bundle-v0-3-3.zip
ln -sf elmasse-bundle-0.3.3/i18n i18n

curl -L https://github.com/ivan-novakov/extjs-upload-widget/archive/1.1.1.zip \
     -o Ext-ux-Upload-1-1-1.zip
unzip -n Ext-ux-Upload-1-1-1.zip
ln -sf extjs-upload-widget-1.1.1/lib/upload upload

cd $CUR_DIR

http://lada.wald.intevation.org