Mercurial > dive4elements > river
comparison backend/README @ 7730:e1b831fe435a slt-simplify-cross-sections
Merged default into slt-simplify-cross-sections branch and updated package and class names.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 20 Jan 2014 14:04:20 +0100 |
parents | 5aa05a7a34b7 |
children |
comparison
equal
deleted
inserted
replaced
5084:ca45dd039b54 | 7730:e1b831fe435a |
---|---|
1 For the artifact database | |
2 # su - postgres | |
3 $ createuser --no-createrole --no-superuser --pwprompt --no-createdb artifacts | |
4 $ createdb --encoding=UTF-8 --owner artifacts artifactsdb | |
5 | |
6 For the flys database | |
7 | |
8 # su - postgres | |
9 $ createuser --no-createrole --no-superuser --pwprompt --no-createdb flys | |
10 $ createdb --encoding=UTF-8 --owner flys flystest1 | |
11 | |
12 | |
13 Build an importer package: | |
14 mvn -f pom.xml clean compile assembly:single | |
15 Alternatively with oracle: | |
16 mvn -f pom-oracle.xml clean compile assembly:single | |
17 | |
18 Standalone DateGuesser testing example: | |
19 | |
20 mvn -e -Dexec.mainClass=de.intevation.flys.utils.DateGuesser -Dexec.args="110803" exec:java <<EOF | |
21 110803 | |
22 EOF | |
23 | |
24 Some importer allow standalone usage: | |
25 mvn -e -Dexec.mainClass=de.intevation.flys.importer.parsers.AtFileParser -Dexec.args=/home/felix/.bashrc exec:java |