]> Softwares of Agnibho - dietsurvey.git/blobdiff - INSTALL.txt
Rewritten in PHP/Javascript
[dietsurvey.git] / INSTALL.txt
diff --git a/INSTALL.txt b/INSTALL.txt
new file mode 100644 (file)
index 0000000..67a1997
--- /dev/null
@@ -0,0 +1,34 @@
+          Installation instructions for Diet-Survey
+         =========================================
+
+What do you need
+----------------
+
+* A server with PHP and MYSQL support
+* FTP or SSH access to the server
+
+Installation steps
+------------------
+
+1. Download the latest Diet-Survey tarball from
+http://code.agnibho.com/dietsurvey/
+
+2. Extract the files from the tarball.
+
+3. Copy the contents of the dietsurvey folder to the directory where you
+want to install Diet-Survey.
+
+4. Create a MYSQL database for Diet-Survey on your server.
+
+5. Import the file dietsurvey.sql to the database you created.
+
+6. Edit the ajax.php file in the Diet-Survey installation directory as
+follows:
+
+  define("HOST", "<MYSQL host name>");
+  define("USER", "<MYSQL username>");
+  define("PASS", "<MYSQL password>");
+  define("DTBS", "<MYSQL database name>");
+
+7. That's it. The Diet-Survey installation is ready for use. It can now be
+accessed it by entering the URL to the installation directory.