comparison backend/README @ 5838:5aa05a7a34b7

Rename modules to more fitting names.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 25 Apr 2013 15:23:37 +0200
parents flys-backend/README@95af0f3aabfb
children
comparison
equal deleted inserted replaced
5837:d9901a08d0a6 5838:5aa05a7a34b7
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

http://dive4elements.wald.intevation.org