Name | Date | Size | |
---|---|---|---|
.. | 2015-12-15 09:36:45 | 4 | |
createuser.pgsql | 2014-10-13 19:33:02 | 156 | |
default_schema_optimization.pgsql | 2015-11-05 07:03:35 | 2.6 KiB | |
openidm.pgsql | 2015-12-15 09:36:45 | 18.7 KiB | |
README.txt | 2015-11-02 06:21:48 | 1 KiB |
README.txt
To initialize your PostgreSQL 9.3 (or greater) OpenIDM repository, follow these steps:
First, edit "createuser.pgsql" and set a proper password for the openidm user.
After saving the file, execute "createuser.pgsql" script like so:
$ psql -U postgres < createuser.pgsql
Next execute the "openidm.pgsql" script using the openidm user that was just created:
$ psql -U openidm < openidm.pgsql
Your database is now initialized. Now copy the repo and datasource configs:
Edit your copy at conf/datasource.jdbc.json to set the value for "password" to be whatever password you set for the
openidm user in the first step.
You should now have a functional PostreSQL-based OpenIDM. If you are using the default project configuration,
you should also run the "default_schema_optimization.sql" file to have indexes for the expected fields. Read the
comments in that file for more details.
$ psql -U postgres openidm < default_schema_optimization.pgsql