TurboGears && Debian == problems
First of all, the TurboGears package from Debian is old and outdated. In fact, as of Jan. 6. 2009, it doesn't even work. The "preferred" solution to this problem is to install all your dependencies in a virtualenv directory. On top of that, most of the TurboGears-based blogs don't even seem to work out of the box (I'm not sure if this was due to a PEBKAC or not). In the end, I decided to install CBlog . Unfortunately, CBlog uses cheetah templates which don't work on Debian's version of TurboGears. I have therefore rewritten all the templates in KID, only to be told by TurboGears developers that I should be using Genshi . I've also noticed that if I use py:layout in a KID template, the template doesn't get reloaded automatically. Paradoxically, this isn't really that problematic since the AutoReload feature of TurboGears affects it's performance so a production server is supposed to be restarted every time your web app is updated.
Anyway, the blog is up and I intend to start filling it with useful tips and information regarding computing in general in the following weeks.
Oh, and feel free to post some spam in the comments, filtering is still on my TODO list.
If you can read this, my blog is probably online. Setting it up has been much, MUCH more painful than I had expected.
First of all, the TurboGears package from Debian is old and outdated. In fact, as of Jan. 6. 2009, it doesn't even work. The "preferred" solution to this problem is to install all your dependencies in a virtualenv directory. On top of that, most of the TurboGears-based blogs don't even seem to work out of the box (I'm not sure if this was due to a PEBKAC or not). In the end, I decided to install CBlog . Unfortunately, CBlog uses cheetah templates which don't work on Debian's version of TurboGears. I have therefore rewritten all the templates in KID, only to be told by TurboGears developers that I should be using Genshi . I've also noticed that if I use py:layout in a KID template, the template doesn't get reloaded automatically. Paradoxically, this isn't really that problematic since the AutoReload feature of TurboGears affects it's performance so a production server is supposed to be restarted every time your web app is updated.
Anyway, the blog is up and I intend to start filling it with useful tips and information regarding computing in general in the following weeks.
Oh, and feel free to post some spam in the comments, filtering is still on my TODO list.