+-----------------------------------------------------------------------
| Running miniflux on OpenBSD
+-----------------------------------------------------------------------

Initial Setup
=============

The database server will need to have the hstore extension. This means
installing postgresql-contrib on OpenBSD.

Configure /etc/miniflux.conf to your liking. Create a user and
database as defined in /etc/miniflux.conf:

# su - _postgresql

Create a database user for Miniflux

$ createuser -U postgres -P miniflux

Create a database for miniflux that belongs to our user

$ createdb -U postgres -O miniflux miniflux

Create the extension hstore as superuser

$ psql -U postgres miniflux -c 'create extension hstore'
CREATE EXTENSION

Run the database migrations.

# su -s/bin/sh - _miniflux
$ miniflux -c /etc/miniflux.conf -migrate

Create the initial admin account.

$ miniflux -c /etc/miniflux.conf -create-admin

Miniflux is now ready to be started via rcctl.
