Slides for RuPy conference TurboGears tutorial presentation available

I will be giving a tutorial talk on TurboGears this Saturday at the RuPy conference in Poznan, Poland. The conference tries to bring together Python and Ruby enthusiast with interesting talks and takes place in a very nice city.

Continue reading …

How To Implement Tagging With TurboGears and SQLObject

I recently read Nadav Samet's nice tutorial on How To Implement Tagging With TurboGears and SQLAlchemy [1] and since I have implemented a very similar tagging mechanism for CBlog [2], but am using SQLObject [3] instead, I want to show you that this can be done very easily too.

Continue reading …

Controlling a TurboGears application with supervisor - Part II

A few days ago I described how I set up supervisor to control a TurboGears application on Ubuntu. I was using supervisor version 1.0.7, because I wasn't aware of the existence of supervisor2, which supersedes version 1.x and has a lot more features. Since then, I have successfully set up supervisor2 as well and I am now using it exclusively to start/stop and monitor TurboGears apps on my production machine.

Continue reading …

Controlling a TurboGears application with supervisor

Since my shiny, new TurboGears application (yes, you're looking at it!) has progressed so far as to be actually usable, I wanted to deploy it in a "production" enviroment, i.e. with automatic startup at server boot time, restarting when it crashes and the ability to monitor it remotely. I googled a bit for the right tools and found supervisor. This post reports my endeavours in setting it up on my Ubuntu box, which was successfull in the end, but not before some struggling.

Continue reading …