Bastian's Blog

Bastian's Blog

Info | HTML | Text | RSS

Channelling for FluentDOM

What channel server to use?

There a several "PEAR channel server" - such as Chiara Channel Server or Pirum - out in the wild. As I was not decisive I asked some of my friends what to use. Sebastian Bergmann pointed me to the Pirum channel server. At this time he always wanted to give it a try, but never found the time until some weeks ago.

Installation

Once decided to use Pirum I found a very good installation how to at the Pirum project webpage . I configured a subdomain (pear.fluentdom.org) in my apache config to have a dedicated place for the channel and after completing the guide the channel server was up and running without any complications. Thanks Fabian!

Creating a PEAR Package

Next thing was to generate a package of FluentDOM. Doing some reserch I stumbled upon the PEAR_PackageFileManager. The CLI mode version should do what I need.

!! BE AWARE !!

The following lines install the CLI version of the PEAR_PackageFileManager to '/usr/bin/pfm' being called via 'pfm'. Unfortunately in Ubuntu 8.04 LTS (the version I use) a provides a package "pfm" representing a "PostgreSQL graphical client using Tcl/Tk". So make sure if you want to use the PEAR PackageFileManager not to install this package.

To install it use

#>pear install -f --alldeps PEAR_PackageFileManager_Cli

Now we do use the pfm to create a package.xml

#>cd /PATH/TO/YOUR/SOURCE/FILES #>pfm

PFM will now ask you a bunch of questions and create the package.xml as the result of your answers. The only thing I did wrong in the first time was not to choose 'Channel' when I was asked which format to use

#>Channel or URI based package? [c] (c,u)*:

Fabians tutorial also tells you how to add the generated package to the channel. After I followed his instructions the package was available via pear.fluentdom.org.

Please check it out and give me feedback.

If you like this article, I'd be very pleased if you'd flattr me.

Trackbacks

Comments

Add new comment

Fields with bold names are mandatory.

Blogroll