changeset 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 2a6524b36ab6
children 5cd1c627cda9
files README
diffstat 1 files changed, 2 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/README	Mon Mar 22 12:20:54 2021 +0100
+++ b/README	Fri Feb 25 14:53:32 2022 +0100
@@ -1,13 +1,6 @@
 
 Create a new H2 database for usage in the artifact database:
 
-$ mkdir testdb
+$ artifact-database/bin/createArtifacts.sh
 
-$ for i in h2-1.3.152 artifact-database-1.0-SNAPSHOT artifacts-common-1.0-SNAPSHOT log4j-1.2.14 ; do
->    export CLASSPATH=$CLASSPATH:`find ~/.m2/ -name $i.jar`
-> done
-
-$ java org.h2.tools.RunScript \
->    -url jdbc:h2:`readlink -f testdb`/artifacts.db \
->    -script artifact-database/doc/schema-h2.sql
-
+The new database is created in the directory ./artifactsdb.

http://dive4elements.wald.intevation.org