view flys-backend/README @ 4902:e1566938d04c

Added new functions to datacage templating language. * get minimum of location/distance: dc:fromValue($ld_mode, $ld_locations, $ld_from) - returns -Double.MAX_VALUE if no min exists. * get maximum of location/distance: dc:toValue($ld_mode, $ld_locations, $ld_to) - returns Double.MAX_VALUE if no max exists.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 29 Jan 2013 17:11:26 +0100
parents 90142c839fe5
children 790353fadf30
line wrap: on
line source
For the artifact database
# su - postgres
$ createuser --no-createrole --no-superuser --pwprompt --no-createdb artifacts
$ createdb --encoding=UTF-8 --owner artifacts artifactsdb

For the flys database

# su - postgres
$ createuser --no-createrole --no-superuser --pwprompt --no-createdb flys
$ createdb --encoding=UTF-8 --owner flys flystest1

Standalone DateGuesser testing example:

mvn -e -Dexec.mainClass=de.intevation.flys.utils.DateGuesser -Dexec.args="110803" exec:java <<EOF
110803
EOF

http://dive4elements.wald.intevation.org