# HG changeset patch # User Matti Hamalainen # Date 1394663813 -7200 # Node ID 4876f777a648438086090c104d3698e1cdb290f0 # Parent e08f80b95910afd3a274a8cf3e221f63d8302535 Update instructions. diff -r e08f80b95910 -r 4876f777a648 README.html --- 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.

+

"Installation"

+

+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. +

+ +

+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: +

+
+$ php -S localhost:8888 router.php
+
+

+Then point your web-browser to http://localhost:8888/. +You may need to adjust the port (8888) or your firewall settings. +

+ +

How to use

Input data for the script can be written in file results.txt