$OpenBSD: README-main,v 1.2 2011/06/02 13:41:40 ajacoutot Exp $

+-----------------------------------------------------------------------
| Running libpreludedb-0.9.15.3 on OpenBSD
+-----------------------------------------------------------------------

To start with libpreludedb, you have to install at least one DBMS module
for libpreludedb (e.g. prelude-libpreludedb-pgsql). Then, install the
database with the database-dependent instructions.

Instructions for PotsgreSQL:

  # su - _postgresql
  $ createuser --pwprompt prelude (default password "prelude" / n,n,n)
  $ createdb -O prelude prelude
  $ cd /usr/local/share/libpreludedb/classic/
  $ psql -U prelude -W prelude < pgsql.sql

Instructions for MySQL:

  Login as a privileged user, e.g. 'root':

  # mysql -u root -p
  mysql> CREATE DATABASE prelude;
  mysql> GRANT ALL PRIVILEGES on prelude.* to prelude IDENTIFIED by '...';

  # cd /usr/local/share/libpreludedb/classic/
  # mysql -u prelude -p prelude < mysql.sql

Instructions for SQLite:

  # cd /var/prelude/
  # sqlite3 prelude.db < /usr/local/share/libpreludedb/classic/sqlite.sql
  # chown _prelude:_prelude prelude.db
