From 7be18657b11f6995adac92648be6e6bcb922d7ee Mon Sep 17 00:00:00 2001 From: Ilya Zhuravlev Date: Mon, 4 Nov 2013 21:54:25 +0400 Subject: Fix masterserver README.md --- util/master/README.md | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) (limited to 'util') diff --git a/util/master/README.md b/util/master/README.md index 232986deb..411fff3e9 100644 --- a/util/master/README.md +++ b/util/master/README.md @@ -7,28 +7,43 @@ 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: +Then install doT.js and its dependencies: + $ cd ~/code $ git clone https://github.com/olado/doT.git $ cd doT $ npm install -Or by npm: +Or with npm: + $ npm install dot commander mkdirp And finally compile the template: + $ cd ~/minetest/util/master $ ~/code/doT/bin/dot-packer -s . -d . + or - $ ./node_modules/dot/bin/dot-packer -s . -d . + + $ ~/node_modules/dot/bin/dot-packer -s . -d . -Embending to any page +Embedding to any page ---------------------- - - + + -- cgit v1.2.3