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:
24
util/master/README.md
Normal file
24
util/master/README.md
Normal 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 .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user