comparison README @ 567:48d14cf857db 3.2.x

Mention existing script in README
author Tom Gottfried <tom@intevation.de>
date Fri, 25 Feb 2022 14:53:32 +0100
parents aa9f2f5ff032
children
comparison
equal deleted inserted replaced
566:2a6524b36ab6 567:48d14cf857db
1 1
2 Create a new H2 database for usage in the artifact database: 2 Create a new H2 database for usage in the artifact database:
3 3
4 $ mkdir testdb 4 $ artifact-database/bin/createArtifacts.sh
5 5
6 $ for i in h2-1.3.152 artifact-database-1.0-SNAPSHOT artifacts-common-1.0-SNAPSHOT log4j-1.2.14 ; do 6 The new database is created in the directory ./artifactsdb.
7 > export CLASSPATH=$CLASSPATH:`find ~/.m2/ -name $i.jar`
8 > done
9
10 $ java org.h2.tools.RunScript \
11 > -url jdbc:h2:`readlink -f testdb`/artifacts.db \
12 > -script artifact-database/doc/schema-h2.sql
13

http://dive4elements.wald.intevation.org