What's new? | Help | Directory | Sign in
Google
fluidrecords
Web-viewer for bandersnatch.
  
  
  
  
    
Search
for
Updated Sep 27, 2007 by jorgeecardona
Labels: Phase-Deploy, Featured
HowTo  
HowTo FluidRecords.

Introduction

This HowTo will help you to set FluidRecords, and search your bandersnatch logged messages.

Details

Assumed

We assume that you got a Debian System, a server with MySQL with the logged messages by bandersnatch, and server with LDAP.

At this point you need to identified this settings:

AUTHORIZED_USERSList of user that can authenticate at FluidRecords
LDAP_HOSTHostname or ip of the ldap server
LDAP_BASEBase dn to search user for authentication
LDAP_ATTRAttribute that has the identification of the user (Ex. uid, cn)
MYSQL_HOSTHostname or ip of the db server in which bandersnatch log the jabber messagges
MYSQL_DBNAMEDatabase name where the messages are logged
MYSQL_USERUsername with right permissions at MYSQL_DBNAME
MYSQL_PASSWDPassword of MYSQL_USER

And the minimal settings needed for django, like:

dbengine'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
dbnameOr path to database file if using sqlite3.
dbuserNot used with sqlite3.
dbpasswordNot used with sqlite3.
dbhostSet to empty string for localhost. Not used with sqlite3.
dbportSet to empty string for default. Not used with sqlite3.

1. First download and install the fluidrecords package:

dpkg -i fluidrecords_0.2-_amd64.deb It would ask for some dependences.
2. Then edit /etc/fluidrecords/config. You can leave the django section, it will use sqlite as default.

3. run fluidrecords-manage syncdb This run the django manage.py. It will ask for root user, answer no.

4. You can test the application running fluidrecords-manage runserver and open some browser and search for: http://localhost:8000/viewer/.

5. If you want to run it with apache, in /usr/share/doc/fluidrecords/examples/apache2 it's a file with the settings, put this file in sites-availabel and try it. Read the apache2 documentation.


Sign in to add a comment