Page History
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
#! /bin/bash
#
# Deploy the KLighDning product and install some features
#
# location of the klighdning product
HOST="http://rtsys.informatik.uni-kiel.de"
SERVER_PATH="/~kieler/files/nightly/klighdning/"
PLATFORM="linux.gtk.x86_64"
FILE="klighdning_nightly_*-${PLATFORM}.zip"
# features to be installed into the klighdning instance
FEATURES="kgraph,klighd.examples"
# local models repository
MODELS_REPO="/home/layout/models"
echo "##################################"
echo "###### Deploying KLighDning ######"
echo ""
echo "Downloading ... "
echo " archive: ${FILE}"
echo " host: ${HOST}${SERVER_PATH}"
wget -r -nd -P tmp -A "$FILE" -I $SERVER_PATH "${HOST}${SERVER_PATH}" 2>/dev/null
echo "Unzipping ..."
cd tmp
unzip -q *.zip
cd ..
mv tmp/klighdning .
rm -rf tmp
echo "Make the scripts executable ..."
chmod u+x klighdning/*.sh
echo "Installing features ..."
cd klighdning
./install_kieler_features.sh "$FEATURES"
echo "Starting KLighDning ..."
./start.sh "$MODELS_REPO"
cd ..
|
Example
Overview
Content Tools