[cvs] [Wiki] created: MetarWeather

Wiki Guest wikiguest at horde.org
Wed May 7 07:35:19 UTC 2008


guest [155.56.26.100]  Wed, 07 May 2008 03:35:19 -0400

Created page: http://wiki.horde.org/MetarWeather

++ Setting up MetarWeather

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:

<code>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
</code>

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)


More information about the cvs mailing list