| 135 | }}} |
| 136 | |
| 137 | ''ISOcat PostgreSQL database'' |
| 138 | * download and install [[http://www.postgresql.org/|PostgreSQL 8.x]] (or dare to try 9.x) |
| 139 | * create an isocat user (password: isocat) and an isocat database |
| 140 | {{{ |
| 141 | CREATE ROLE isocat LOGIN PASSWORD 'isocat'; |
| 142 | CREATE DATABASE isocat WITH owner = isocat ENCODING = 'UTF8'; |
| 143 | }}} |
| 144 | * depending on the configuration of your PostgreSQL installation the pgpsql language has to be loaded |
| 145 | {{{ |
| 146 | CREATE PROCEDURAL LANGUAGE plpgsql; |
| 147 | }}} |
| 148 | * initialize an empty database (or ask for a recent dump of isocat.org) |
| 149 | {{{ |
| 150 | cat path-to-ISOcat/mod-ISOcat-access-data/dbms/ISOcat-schema-empty.sql | psql -U isocat -W isocat |
| 151 | cat path-to-ISOcat/mod-ISOcat-access-data/dbms/ISOcat-schema-init.sql | psql -U isocat -W isocat |
| 152 | cat path-to-ISOcat/mod-ISOcat-access-data/dbms/ISOcat-schema-constraints.sql | psql -U isocat -W isocat |
| 189 | * tell the !NetKernel HTTP frontend fulcrum to resolve request for the files in the interface modules by adding the following below the ''Add your modules below here...'' comment and the previously added modules in {{{path-to-1060-NKSEDK-3.3.1/modules/mod-fulcrum-frontend/module.xml}}} |
| 190 | {{{ |
| 191 | <import> |
| 192 | <uri>urn:isocat:interface:rest</uri> |
| 193 | </import> |
| 194 | <import> |
| 195 | <uri>urn:isocat:interface:gi</uri> |
| 196 | </import> |
| 197 | <import> |
| 198 | <uri>urn:isocat:site</uri> |
| 199 | </import> |
| 200 | }}} |
| 201 | |
| 202 | ''Configure ISOcat'' |
| 203 | * start !NetKernel using the appropiate startup script in {{{path-to-1060-NKSEDK-3.3.1/bin}}} |
| 204 | * goto [[http://localhost:1060]] |
| 205 | * goto the ''ISOcat system management'' in the ''applications'' |
| 206 | * enter a valid SMTP server in the ''Configure'' form |