6 You will have to install node.js, doT.js and their dependencies to compile
7 the serverlist webpage template.
9 First install node.js, eg:
10 # apt-get install nodejs
14 Then install doT.js and it's dependencies:
16 $ git clone https://github.com/olado/doT.git
21 $ npm install dot commander mkdirp
23 And finally compile the template:
24 $ cd ~/minetest/util/master
25 $ ~/code/doT/bin/dot-packer -s . -d .
27 $ ./node_modules/dot/bin/dot-packer -s . -d .
31 ----------------------
33 <script>var master = {root: 'http://servers.minetest.net/', limit:10, clients_min:1, no_flags:1, no_ping:1, no_uptime:1};</script>
34 <script src="http://servers.minetest.net/list.js"></script>