openbsd-ports/audio/fookebox/pkg
2012-10-15 13:53:56 +00:00
..
DESCR
PLIST
README

$OpenBSD: README,v 1.2 2012/10/15 13:53:56 jasper Exp $

+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------

Configuration
=============

After having installed the package some steps are needed to setup a
WSGI enabled server for fookebox.

A sample configuration has been generated and installed into
${SYSCONFDIR}/fookebox/config.ini. If you ever need to regenerate,
please use the command below:

	paster make-config fookebox ${SYSCONFDIR}/fookebox/config.ini

Adjust the configuration if needed. Create the initial database with:

	touch /var/db/fookebox/fookebox.sqlite

Now setup the application:

       paster setup-app ${SYSCONFDIR}/fookebox/config.ini

Now run the server:

	paster serve ${SYSCONFDIR}/fookebox/config.ini

By default a server will now be listening on:

	http://127.0.0.1:5000

Alternatively you may want to use a different webserver to serve
Fookebox, for example py-gunicorn.

For further details on configuring fookebox please have refer to
${PREFIX}/share/doc/fookebox/config.txt