[cvs] [Wiki] changed: MetarWeather
Jan Schneider
jan at horde.org
Wed May 7 10:32:47 UTC 2008
jan Wed, 07 May 2008 06:32:47 -0400
Modified page: http://wiki.horde.org/MetarWeather
New Revision: 1.2
Change log: Tweaks, make it render
@@ -1,28 +1,30 @@
-++ Setting up the MetarWeather Block
+++ Setting up the METAR weather block
-The documentation on the MetarWeather Block as well as the Pear
Services_Weather module is not too extensive and user-friendly.
+The documentation on the METAR weather 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
++++ Prerequisites: install Services_Weather
+
You install the PEAR Services_Weather module as root from the command line:
-<code>pear install Services_Weather</code>
+<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
+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")
+I assume you have the command line 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
+php 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.
+Note: I haven't yet found a way to use the METAR block if you use another
database than the horde database.
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.
+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)
+--Ralf Lang
More information about the cvs
mailing list