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 ++++++++++++++++++++++ nutridb-database.sql.gz | Bin 0 -> 4621266 bytes templates/download.tpl | 10 +++++++++- 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 nutridb-database.sql.gz 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 diff --git a/nutridb-database.sql.gz b/nutridb-database.sql.gz new file mode 100644 index 0000000..b6096b7 Binary files /dev/null and b/nutridb-database.sql.gz differ diff --git a/templates/download.tpl b/templates/download.tpl index d0a5c18..b7ee5d0 100644 --- a/templates/download.tpl +++ b/templates/download.tpl @@ -47,7 +47,7 @@ Production: nutridb-production.tar.gz
- Development: nutridb-development.tar.gz + Development: nutridb-development.tar.gz
@@ -56,6 +56,14 @@ downloaded individually: nutridb-database.sql.gz +
+ Installation: First take a look at the README file that comes with + the source. To get a site up and running should be as simple as making a Subversion + checkout or unpacking one of the tar-gzipped files into your web root, copy + config.php-dist to config.php, edit config.php with some values suitable for your + environment, unzip the database and install it with something like + mysql -u root -p nutridb-database.sql. +
-- cgit v1.2.3