Mercurial > lada > lada-client
view install-dependencies.sh @ 1102:d91b0e649e8c
Fix OpenLayers installation.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Tue, 10 May 2016 17:24:33 +0200 |
parents | 7c0bc1146796 |
children | db9297e559ab |
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/openlayers/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