dotgnu-forum-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Forum-dev]diff


From: James Michael DuPont
Subject: [Forum-dev]diff
Date: Sat, 1 Mar 2003 19:38:16 +0100 (CET)

OK,
i got the server running:


1. installed ruby 
installed     

    * rexml     librexml-ruby - pure Ruby non-validating XML parser
supporting Namespaces, XPath
    * xmlrpc4r  xmlrpc4r - XML-RPC support for Ruby
    * DBI (ruby-dbi-all)  
libdbd-mysql-ruby - Ruby/DBI driver for MySQL
libdbd-pg-ruby - Ruby/DBI driver for PostgreSQL
libdbi-ruby - Database Independent Interface for Ruby

    * jabber4r
All modules except this were on debian :
http://www.infoether.com/ruby/jabber4r/releases/jabber4r-0.3.0.zip

First  
# createdb testforum

in /etc/postgresql/pg_hba.conf 
replaced the configuration with :
host    all         all          trust
# this is really not  safe

Patched the db scripts
hacked the config.
removed the password checking from config

? forumpatch.diff
Index: data/setup.sql
===================================================================
RCS file: /cvsroot/dotgnu-forum/forumserver/data/setup.sql,v
retrieving revision 1.2
diff -r1.2 setup.sql
21a22,28
> DROP TABLE forum;
> DROP TABLE app;
> DROP TABLE person;
> DROP TABLE person_in_node;
> DROP TABLE user_in_node;
> DROP TABLE log;
> 
61c68
<        ,FOREIGN KEY (userid) REFERENCES _user(id)
---
>        ,FOREIGN KEY (userid) REFERENCES person(id)
Index: src/config.rb
===================================================================
RCS file: /cvsroot/dotgnu-forum/forumserver/src/config.rb,v
retrieving revision 1.3
diff -r1.3 config.rb
56c56
<     DBNAME = "dbi:Pg:forumserver"
---
>     DBNAME = "dbi:Pg:testforum"
60c60
<     DBUSER = "forumserver"
---
>     DBUSER = "mdupont"
65c65
<     DBPASSWORD = "forumserver"
---
>     DBPASSWORD = "" #forumserver
78c78
<       raise "No password filled in at 'src/config.rb' in the DBPASSWORD
field"
---
> #     raise "No password filled in at 'src/config.rb' in the DBPASSWORD
field"


=====
James Michael DuPont
http://introspector.sourceforge.net/

__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Bis zu 100 MB Speicher bei http://premiummail.yahoo.de




reply via email to

[Prev in Thread] Current Thread [Next in Thread]