view install-dependencies.sh @ 1434:ff5a402cd63d tip

set version to 2.7-SNAPSHOT for default branch
author Marco Lechner, Bundesamt fuer Strahlenschutz, SW 2.1 <mlechner@bfs.de>
date Fri, 07 Apr 2017 11:32:26 +0200
parents 6075731bc4f1
children
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

ln -sf ../../../extjs/examples/ux/grid grid

cd $CUR_DIR

http://lada.wald.intevation.org