summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
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