Mercurial > dive4elements > river
comparison flys-backend/README @ 5379:61bf64b102bc mapgenfix
Merge with default branch
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Fri, 22 Mar 2013 11:25:54 +0100 |
parents | 95af0f3aabfb |
children |
comparison
equal
deleted
inserted
replaced
5175:cfc5540a4eec | 5379:61bf64b102bc |
---|---|
7 | 7 |
8 # su - postgres | 8 # su - postgres |
9 $ createuser --no-createrole --no-superuser --pwprompt --no-createdb flys | 9 $ createuser --no-createrole --no-superuser --pwprompt --no-createdb flys |
10 $ createdb --encoding=UTF-8 --owner flys flystest1 | 10 $ createdb --encoding=UTF-8 --owner flys flystest1 |
11 | 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 | |
12 Standalone DateGuesser testing example: | 18 Standalone DateGuesser testing example: |
13 | 19 |
14 mvn -e -Dexec.mainClass=de.intevation.flys.utils.DateGuesser -Dexec.args="110803" exec:java <<EOF | 20 mvn -e -Dexec.mainClass=de.intevation.flys.utils.DateGuesser -Dexec.args="110803" exec:java <<EOF |
15 110803 | 21 110803 |
16 EOF | 22 EOF |
17 | 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 |