comparison README.html @ 75:4876f777a648

Update instructions.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 13 Mar 2014 00:36:53 +0200
parents 61292cb4e59c
children 3f30d4d59278
comparison
equal deleted inserted replaced
74:e08f80b95910 75:4876f777a648
27 guarantees, however. <b>GD extension</b> for PHP is also currently required. 27 guarantees, however. <b>GD extension</b> for PHP is also currently required.
28 </p> 28 </p>
29 <p> 29 <p>
30 Other thing you will need, of course, is a web-browser, for viewing the data. 30 Other thing you will need, of course, is a web-browser, for viewing the data.
31 </p> 31 </p>
32
33 <h2>"Installation"</h2>
34 <p>
35 Place the files (index.php and results.txt at the very least) in a directory
36 that is accessible to whatever web-server and PHP solution you are using.
37 You probably want the img/ directory as well.
38 </p>
39
40 <p>
41 For local execution with plain PHP built-in web-server (PHP 5.4 or later required),
42 without external web-server such as Apache, you can use the included "router.php"
43 to run the system as follows:
44 </p>
45 <pre>
46 $ php -S localhost:8888 router.php
47 </pre>
48 <p>
49 Then point your web-browser to <a
50 href="http://localhost:8888/">http://localhost:8888/</a>.
51 You may need to adjust the port (8888) or your firewall settings.
52 </p>
53
32 54
33 <h2>How to use</h2> 55 <h2>How to use</h2>
34 <p> 56 <p>
35 Input data for the script can be written in file <b>results.txt</b> 57 Input data for the script can be written in file <b>results.txt</b>
36 either by hand, or any other way desired, such as MUD client triggers. Latest version of <a 58 either by hand, or any other way desired, such as MUD client triggers. Latest version of <a