changeset 75:4876f777a648

Update instructions.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 13 Mar 2014 00:36:53 +0200
parents e08f80b95910
children 3f30d4d59278
files README.html
diffstat 1 files changed, 22 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/README.html	Thu Mar 13 00:32:14 2014 +0200
+++ b/README.html	Thu Mar 13 00:36:53 2014 +0200
@@ -30,6 +30,28 @@
 Other thing you will need, of course, is a web-browser, for viewing the data.
 </p>
 
+<h2>"Installation"</h2>
+<p>
+Place the files (index.php and results.txt at the very least) in a directory
+that is accessible to whatever web-server and PHP solution you are using.
+You probably want the img/ directory as well.
+</p>
+
+<p>
+For local execution with plain PHP built-in web-server (PHP 5.4 or later required),
+without external web-server such as Apache, you can use the included "router.php"
+to run the system as follows:
+</p>
+<pre>
+$ php -S localhost:8888 router.php
+</pre>
+<p>
+Then point your web-browser to <a
+href="http://localhost:8888/">http://localhost:8888/</a>.
+You may need to adjust the port (8888) or your firewall settings.
+</p>
+
+
 <h2>How to use</h2>
 <p>
 Input data for the script can be written in file <b>results.txt</b>