1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-24 21:35:21 +02:00

Use a doT.js template for the serverlist

This commit is contained in:
ShadowNinja
2013-11-02 18:53:51 -04:00
parent 68bbdf1b2c
commit 50ea8601d5
5 changed files with 196 additions and 154 deletions

24
util/master/README.md Normal file
View File

@@ -0,0 +1,24 @@
Minetest server list
====================
Setting up the webpage
----------------------
You will have to install node.js, doT.js and their dependencies to compile
the serverlist webpage template.
First install node.js, eg:
# apt-get install nodejs
# pacman -S nodejs
# emerge nodejs
Then install doT.js and it's dependencies:
$ cd ~/code
$ git clone https://github.com/olado/doT.git
$ cd doT
$ npm install
And finally compile the template:
$ cd ~/minetest/util/master
$ ~/code/doT/bin/dot-packer -s . -d .