-
Notifications
You must be signed in to change notification settings - Fork 9
/
README
86 lines (56 loc) · 1.99 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
Tirex Tile Rendering System
===========================
Tirex is a bunch of tools that let you run a tile server. A tile server
is a web server that hands out pre-rendered map raster images to clients.
The web page for Tirex is at http://wiki.openstreetmap.org/wiki/Tirex .
See there for more information.
PREREQUISITES
-------------
You'll need the following Perl modules to run Tirex:
* IPC::ShareLite (Debian/Ubuntu: libipc-sharelite-perl)
* JSON (Debian/Ubuntu: libjson-perl)
* GD (Debian/Ubuntu: libgd-gd2-perl)
* LWP (Debian/Ubuntu: libwww-perl)
You'll need a C++ compiler and build tools to compile the Mapnik backend.
BUILDING
--------
To build Tirex run
make
in the main directory. This will compile the mapnik backend and create
the man pages for the Perl modules.
Call 'make clean' to cleanup after a 'make'.
INSTALLING
----------
To install Tirex call
make install
as root user. This will install the main parts of Tirex including the
tirex-master, tirex-backend-manager and the Mapnik backend.
This will not install the example map, or the munin or nagios plugins.
To install those, call
make install-example-map
make install-munin
make install-nagios
respectively. You can also install everything with
make install-all
DEBIAN/UBUNTU
-------------
To create Debian/Ubuntu packages you need the package 'devscripts'
installed. Call
make deb
to create the packages. The following packages will be created in the parent
directory:
tirex-core
tirex-backend-mapnik
tirex-backend-wms
tirex-example-map
tirex-munin-plugin
tirex-nagios-plugin
tirex-syncd
Call 'make deb-clean' to cleanup after a 'make deb'.
TESTS
-----
Call 'prove' in the main directory to run Perl unit tests. You need Test::More
(Debian/Ubuntu: libtest-simple-perl) and Test::Harness (Debian/Ubuntu:
libtest-harness-perl) installed.
There are some other tests in the 'test' directory. See the description at the
beginning of the scripts for information on how to use them.