From ab456c31e1cad64b9827d33f7fb1fce00daefd40 Mon Sep 17 00:00:00 2001 From: Nathan Kinkade Date: Sun, 16 Mar 2008 21:40:49 +0000 Subject: Added gzipped dump of database, added some minimal install instructions. --- README | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'README') diff --git a/README b/README index b5f014d..d4f9bd4 100644 --- a/README +++ b/README @@ -1,3 +1,25 @@ +INSTALLATION +---------------------------------------------------------------------- +If you are reading this, you have probably already downloaded some +version of this software. If not then visit: +http://nutridb.org/download.php + +1) Move the directory that this READFILE is in to your webroot + +2) Unzip the database file that came with this sofware + (nutridb-database.sql.gz). And install the database, most likely + like: + + $ mysql -u root -p < nutridb-database.sql + +3) Copy config.php-dist to config.php + +4) Edit config.php changing variables as is suitable to your system. + Minimally you will need to edit $config->_rootDir, $config->_rootUri + and the DB constants. + +That should be about it. + INSTALLING A NEW VERSION OF THE SR DATABASE ---------------------------------------------------------------------- As the data comes from the USDA NAL not every food will have common -- cgit v1.2.3