[kforge-dev] Re: new db/__init__.py

John Bywater john.bywater at appropriatesoftwarefoundation.org
Mon Jan 16 22:19:31 UTC 2006


Hi Mark,

Excellent! Really great to see you got it running. :-)

I'll see if Rufus may be able to suggest how you might fix up your paths 
and config.

I look forward to your joining the list!

Best regards,

John.



Mark Constable wrote:

>On Tuesday 17 January 2006 05:16, John Bywater wrote:
>  
>
>>Attached is a new version of the module we were talking about.
>>kforge/core/db/__init__.py
>>It's here in the kforge repository:
>>http://project.knowledgeforge.net/kforge/svn/svn/trunk/src/kforge/core/db/__init__.py
>>This module now checks for a sqlobject.main.sqlmeta class.
>>If found, it assumes 0.7. Otherwise it assumes 0.6.
>>    
>>
>
>Well I guess dumb users bumping into these issues is useful!
>
>I'll sign up to kforge-dev tomorrow and no doubt annoy you some more.
>
>  
>
>>You should be able to drop this into your installation and have your 
>>problem go away.
>>    
>>
>
>Wow, thanks for sending it directly to me.
>
>  
>
>>Let me know what happens? ;-)
>>    
>>
>
>Bingo! :-)
>
> http://kforge.motd.com/
>
>It's right at the end of my "day" but I thought I'd quickly try this out
>before zzz. My goodness, now I have to work out how to use it!
>
>FWIW..  I had to add a minor hack for my system...
>
>motd /home/w/com/motd/kforge ll
>total 20
>drwxrwxr-x  2 www-data www-data 4096 Jan 14 06:25 bin/
>drwxrwxr-x  2 www-data www-data 4096 Jan 17 06:41 etc/
>drwxrwxr-x  3 www-data www-data 4096 Jan 14 06:25 lib/
>lrwxrwxrwx  1 root     root       13 Jan 17 06:54 media -> var/www/media/
>lrwxrwxrwx  1 root     root       15 Jan 17 06:54 project -> var/www/project/
>drwxrwxr-x  7 www-data www-data 4096 Jan 17 06:34 var/
>
>I use a custom apache2 module to dynamically work out the
>document root paths for virtual hosts which overrides the supplied
>kforge apache conf. The above soft links fixed the mismatch but I
>suspect I'll have to do something about getting rid of root dirs out
>from the default web root.
>
>As soon as I work out how to add a blog/news/comments component
>to the kforge system then I will make that the core part of motd.com
>proper... with all the code being self-hosted at kforge.motd.com. This
>is the "right way" to develop a web site... but first I have to unlearn
>a lot of PHPisms and start to learn python/django/kforge.
>
>Thank you so much for your help. I'm sure all my jobs I have to do
>will get pushed back while I play around with the shiny new toy :-)
>
>--markc
>
>
>
>  
>





More information about the kforge-dev mailing list