6.0.0-git
2024-04-26
Last Modified 2008-05-07 by Guest

Setting up the MetarWeather Block

The documentation on the MetarWeather Block as well as the Pear Services_Weather module is not too extensive and user-friendly.

Here is how it works:

Prerequisites: Install Services_Weather

You install the PEAR Services_Weather module as root from the command line:

pear install Services_Weather</code>

then you change to your pear directory (usually /usr/share/php) and look for the data/Services_Weather directory

It contains a file buildMetarDB.php

I assume you have the commandline php interpreter installed and it's called "php" (some distributions call it "php5")

<code>

php5 buildMetarDB.php -a -u horde_db_user -p horde_db_pass -d horde_db

php5 buildMetarDB.php -a -u horde_db_user -p horde_db_pass -d horde_db

Note I haven't yet found a way to use the metar block if you use another db than the horde db.

The horde_db_user is often called "horde" and the horde_db is also often called "horde". If I knew all your passwords, I wouldn't tell you ;)

Now login to horde, go to the portal, choose metar block and click the edit button in the upper right of the block.

The rest is self-explanatory click-and-play.

Ralf Lang (sorry, don't have an account)