Mercurial > hg > batmud > gmap2
annotate README @ 306:2f472f65d80a gmap2
Make the PHP version requirement more explicit, as we do require 5.6 or newer.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 11 Sep 2017 13:25:48 +0300 |
parents | 91e6497dffa2 |
children | b5bf0757ca1f |
rev | line source |
---|---|
27 | 1 Requirements |
2 ============ | |
37 | 3 These are the "hard" requirements. |
4 | |
306
2f472f65d80a
Make the PHP version requirement more explicit, as we do require 5.6 or newer.
Matti Hamalainen <ccr@tnsp.org>
parents:
302
diff
changeset
|
5 - PHP 5.6+ and the PHP commandline interpreter (notice the latter!) |
37 | 6 - A sane and working /bin/sh (bash, for example) |
7 - 'convert' utility of ImageMagick or GraphicsMagick. | |
95 | 8 - Mercurial (Hg) DVCS. |
9 - Pupunen Maputils (http://pupunen.net/hg/maputils/) and | |
10 th-libs utility library (http://tnsp.org/hg/th-libs/) | |
106 | 11 and their depencies. |
95 | 12 |
106 | 13 NOTICE! Running "makegmaps.php" will automatically fetch maputils |
14 and th-libs, assuming you have Mercurial installed. | |
27 | 15 |
16 | |
106 | 17 How to install |
18 ============== | |
27 | 19 Steps for producing your own fancy Google Maps -style BatMap: |
20 | |
132
ace4060171e8
Remove SQL / private/public marker mentions, as I personally deem those
Matti Hamalainen <ccr@tnsp.org>
parents:
106
diff
changeset
|
21 1. Run tools/makegmaps.php: |
66 | 22 |
80 | 23 $ cd tools |
66 | 24 $ php makegmaps.php |
27 | 25 |
213 | 26 If running for the first time, you will be prompted for some data. |
27 | |
302
91e6497dffa2
No need to make config.inc.php yourself anymore, perhaps just check it.
Matti Hamalainen <ccr@tnsp.org>
parents:
264
diff
changeset
|
28 2. Possibly check/edit config.inc.php , it is generated by makegmaps.php |
252 | 29 |
30 3. Some web-server configuration may be necessary. | |
213 | 31 |
252 | 32 4. ??? |
213 | 33 |
252 | 34 5. Profit. |
213 | 35 |
27 | 36 |
213 | 37 How to keep up to date |
38 ====================== | |
264 | 39 |
254 | 40 1. To update gmap repo: |
264 | 41 |
254 | 42 $ hg pull && hg up |
63 | 43 |
254 | 44 2. For the rest, just run makegmaps.php, it should take care of |
45 things automagically. | |
46 | |
213 | 47 Sometimes it _may_ be necessary to delete contents of tools/cache/ |
48 and/or remove tilecache from tiles/ (achieved most easily by running | |
49 "hg clean --all ." under tiles/ directory.) | |
63 | 50 |