@@ -5,13 +5,20 @@ of database for containing the persistent state of users, contexts, and items
55(hence its use as the repository for the metadata that allows these objects to
66be read into the server's memory).
77
8- The shell script dbinit.sh (in the Scripts directory) will connect to the local
9- MongoDB instance, initialize a database named 'elko', and populate it with
10- the essential configuration data as well as a selection of default user,
8+ The shell script dbinit.sh (in the Build/ Scripts directory) will connect to the
9+ local MongoDB instance, initialize a database named 'elko', and populate it
10+ with the essential configuration data as well as a selection of default user,
1111context, and item objects to get you started. As distributed, this script will
1212connnect to the standard default MongoDB host and port (localhost, port 27017);
1313if your MongoDB runs someplace else, you should modify this script accordingly.
1414
15+ The dbinit.sh script is not included directly in the distribution, but gets
16+ built according to instructions in the Build/Makefile via the command 'make
17+ db'. The resulting script will populate the database with objects described by
18+ JSON files found in the various component directories.
19+
20+ ---
21+
1522The file mongohelper.js contains an assortment of useful functions to be used
1623within the MongoDB client shell to manipulate the database in accordance with
1724various conventions we use repeatedly. We recommend you define a shell alias:
@@ -20,13 +27,9 @@ various conventions we use repeatedly. We recommend you define a shell alias:
2027
2128---
2229
23- mongo.jar (2.4) is unmodified open source software and is provided here for
24- convenience.
25-
26- It is strongly suggested that you go to http://mongodb.org to get the latest
27- Java driver software version and replace this file with it.
28-
29- It is subject to the terms at http://mongodb.org.
30+ To run with MongoDB, you will need to have some version of the MongoDB Java
31+ "driver" on your class path. These can be obtained at
32+ https://docs.mongodb.com/ecosystem/drivers/java
3033
3134---
3235
0 commit comments