- tweak the configuration instructions and default config file.

This commit is contained in:
jasper 2012-10-15 13:53:56 +00:00
parent dbbdf283f5
commit 1f28e24082
4 changed files with 14 additions and 10 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2012/10/11 07:48:59 jasper Exp $
# $OpenBSD: Makefile,v 1.3 2012/10/15 13:53:56 jasper Exp $
COMMENT= jukebox frontend to mpd
MODPY_EGG_VERSION= 0.6.1
DISTNAME= fookebox-${MODPY_EGG_VERSION}
REVISION= 0
REVISION= 1
CATEGORIES= audio www
HOMEPAGE= http://fookebox.googlecode.com/

View File

@ -1,4 +1,4 @@
# $OpenBSD: config.ini,v 1.2 2012/10/11 07:48:59 jasper Exp $
# $OpenBSD: config.ini,v 1.3 2012/10/15 13:53:56 jasper Exp $
#
# fookebox - Pylons configuration
#
@ -21,8 +21,8 @@ use = egg:fookebox
full_stack = true
static_files = true
cache_dir = %(here)s/data
sqlalchemy.url = sqlite:///%(cache_dir)s/fookebox.sqlite
cache_dir = /var/db/fookebox/
sqlalchemy.url = sqlite:////%(cache_dir)s/fookebox.sqlite
beaker.session.key = fookebox
beaker.session.secret = RBTH0M2E1RGSWx+gefeZgWERX

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/10/11 07:14:21 jasper Exp $
@comment $OpenBSD: PLIST,v 1.2 2012/10/15 13:53:56 jasper Exp $
lib/python${MODPY_VERSION}/site-packages/fookebox/
lib/python${MODPY_VERSION}/site-packages/fookebox-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/fookebox-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
@ -142,3 +142,5 @@ share/examples/fookebox/config.ini
@sample ${SYSCONFDIR}/fookebox/config.ini
share/examples/fookebox/fookebox.fcgi
share/examples/fookebox/fookebox.wsgi
@sample /var/db/fookebox/

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.1.1.1 2012/10/11 07:14:21 jasper Exp $
$OpenBSD: README,v 1.2 2012/10/15 13:53:56 jasper Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
@ -16,9 +16,11 @@ please use the command below:
paster make-config fookebox ${SYSCONFDIR}/fookebox/config.ini
Adjust the configuration if needed. For example you may to change the
sqlalchemy.url line to ensure an abolute path to the database by using
four slashes in the URI. Now setup the application:
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