Mercurial > hg > batmud > gmap2
annotate README @ 318:f2c031427bb3 gmap2
Update to new repository URLs.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 12 Mar 2021 14:42:59 +0200 |
parents | b5bf0757ca1f |
children | faa22539dd9a |
rev | line source |
---|---|
27 | 1 Requirements |
2 ============ | |
37 | 3 These are the "hard" requirements. |
4 | |
315 | 5 - PHP 5.6+ including the PHP commandline interpreter |
6 - A sane and working /bin/sh (bash or dash, for example) | |
37 | 7 - 'convert' utility of ImageMagick or GraphicsMagick. |
95 | 8 - Mercurial (Hg) DVCS. |
318
f2c031427bb3
Update to new repository URLs.
Matti Hamalainen <ccr@tnsp.org>
parents:
315
diff
changeset
|
9 - Pupunen Maputils (http://tnsp.org/hg/batmud/maputils/) and |
315 | 10 th-libs utility library (https://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 |