summaryrefslogtreecommitdiff
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
parentd8b19e35de4788796831cc6328eec10b1ed24975 (diff)
Added gzipped dump of database, added some minimal install instructions.
-rw-r--r--README22
-rw-r--r--nutridb-database.sql.gzbin0 -> 4621266 bytes
-rw-r--r--templates/download.tpl10
3 files changed, 31 insertions, 1 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
diff --git a/nutridb-database.sql.gz b/nutridb-database.sql.gz
new file mode 100644
index 0000000..b6096b7
--- /dev/null
+++ b/nutridb-database.sql.gz
Binary files 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: <a href="nutridb-production.tar.gz">nutridb-production.tar.gz</a>
</div>
<div>
- Development: <a href="nutridb-development.tar.gz">nutridb-development.tar.gz</a>
+ Development: <a href="http://dev.nutridb.org/nutridb-development.tar.gz">nutridb-development.tar.gz</a>
</div>
</div>
@@ -56,6 +56,14 @@
downloaded individually: <a href="nutridb-database.sql.gz">nutridb-database.sql.gz</a>
</div>
+ <div class='standardMargins'>
+ <strong>Installation</strong>: 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
+ <code>mysql -u root -p nutridb-database.sql</code>.
+ </div>
</div>
</div>