CVS: phpweather INSTALL,1.6,1.7
Brought to you by:
iridium
From: Martin G. <gim...@us...> - 2002-05-20 17:41:21
|
Update of /cvsroot/phpweather/phpweather In directory usw-pr-cvs1:/tmp/cvs-serv31618 Modified Files: INSTALL Log Message: Removed text about how it 'was easier for us to put documentation on phpweather.net'. Also updated the part about how to configure PHP Weather. Index: INSTALL =================================================================== RCS file: /cvsroot/phpweather/phpweather/INSTALL,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- INSTALL 27 Mar 2002 10:59:33 -0000 1.6 +++ INSTALL 20 May 2002 17:41:17 -0000 1.7 @@ -20,24 +20,19 @@ language, so have the weather for that city displayed in the chosen language. -For detailed information about using PHP Weather please -see the PHP Weather webpages at this address: - http://www.phpweather.net +Configuration and Database Setup +-------------------------------- +You'll want to configure PHP Weather to use a database as a cache for +the METARs it fetches so that things can go faster. -I've chosen to put the documentation there, because it's easier for me -to update. It also gives you a chance to see all the features of PHP -Weather in action. +To help you with this task you'll find a couple of scripts in the +config/ subdirectory. The make_config.php script helps you build a +configuration-file for PHP Weather and the make_db.php script will try +and make the necessary database tables for you after you've configured +PHP Weather. - -Database Setup --------------- -You should use the script configurator.php to create the database tables -that you need. Two tables are configured, one that holds METARs, and one -that holds a database of station names. - -The configurator currently asks you what you'd like to call a table of -countries - this table is not created. Don't panic. +Just follow the instructions in the relevant scripts. Bugs? |