summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorNathan Kinkade <nath@nkinka.de>2008-03-16 21:40:49 +0000
committerNathan Kinkade <nath@nkinka.de>2008-03-16 21:40:49 +0000
commitab456c31e1cad64b9827d33f7fb1fce00daefd40 (patch)
treea62c473c309995475d4b2e5fc396df6d02863443 /README
parentd8b19e35de4788796831cc6328eec10b1ed24975 (diff)
Added gzipped dump of database, added some minimal install instructions.
Diffstat (limited to 'README')
-rw-r--r--README22
1 files changed, 22 insertions, 0 deletions
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