Browse Source

formatting

master
poikilos 9 years ago
committed by Jacob Gustafson
parent
commit
f72ceb18e9
  1. 46
      README.md

46
README.md

@ -94,41 +94,41 @@ world_path
* Install the git version of minetest (or otherwise install 0.4.13 or other version compatible with the map generators used by chunkymap) * Install the git version of minetest (or otherwise install 0.4.13 or other version compatible with the map generators used by chunkymap)
such as: such as:
``` ```
#if you have a version before 2016-03-23: #if you have a version before 2016-03-23:
if [ -f rename-deprecated.sh ]; then if [ -f rename-deprecated.sh ]; then
rm rename-deprecated.sh rm rename-deprecated.sh
fi fi
wget https://github.com/expertmm/minetest-chunkymap/raw/master/rename-deprecated.sh wget https://github.com/expertmm/minetest-chunkymap/raw/master/rename-deprecated.sh
sudo sh rename-deprecated.sh sudo sh rename-deprecated.sh
if [ -f install-chunkymap-on-ubuntu-from-web.sh ]; then if [ -f install-chunkymap-on-ubuntu-from-web.sh ]; then
rm install-chunkymap-on-ubuntu-from-web.sh rm install-chunkymap-on-ubuntu-from-web.sh
fi fi
wget https://github.com/expertmm/minetest-chunkymap/raw/master/install-chunkymap-on-ubuntu-from-web.sh wget https://github.com/expertmm/minetest-chunkymap/raw/master/install-chunkymap-on-ubuntu-from-web.sh
chmod +x install-chunkymap-on-ubuntu-from-web.sh chmod +x install-chunkymap-on-ubuntu-from-web.sh
./install-chunkymap-on-ubuntu-from-web.sh ./install-chunkymap-on-ubuntu-from-web.sh
#or later run: #or later run:
#rm update-chunkymap-on-ubuntu-from-web.sh #rm update-chunkymap-on-ubuntu-from-web.sh
#wget https://github.com/expertmm/minetest-chunkymap/raw/master/update-chunkymap-on-ubuntu-from-web.sh #wget https://github.com/expertmm/minetest-chunkymap/raw/master/update-chunkymap-on-ubuntu-from-web.sh
#chmod +x update-chunkymap-on-ubuntu-from-web.sh #chmod +x update-chunkymap-on-ubuntu-from-web.sh
#./update-chunkymap-on-ubuntu-from-web.sh #./update-chunkymap-on-ubuntu-from-web.sh
#then (shutdown minetest first then) create singleimage map: #then (shutdown minetest first then) create singleimage map:
sudo python chunkymap/singleimage.py sudo python chunkymap/singleimage.py
#then start generator which will update player entries on your website (can be made anonymous--see viewchunkymap.php): #then start generator which will update player entries on your website (can be made anonymous--see viewchunkymap.php):
sudo python chunkymap/generator.py sudo python chunkymap/generator.py
``` ```
OPTION 2: IF you are using Ubuntu go to a terminal, cd to this directory, OPTION 2: IF you are using Ubuntu go to a terminal, cd to this directory,
then switch user to the one that will run minetestserver then switch user to the one that will run minetestserver
(since install-chunkymap-on-ubuntu.sh DOES replace "/home/owner" with current user's home [replace-with-current-user.py, which is automatically called by install, will change /home/owner to current user's directory in each script that install copies to $HOME/chunkymap]) (since install-chunkymap-on-ubuntu.sh DOES replace "/home/owner" with current user's home [replace-with-current-user.py, which is automatically called by install, will change /home/owner to current user's directory in each script that install copies to $HOME/chunkymap])
then go to Terminal and run: then go to Terminal and run:
``` ```
minetestserver minetestserver
``` ```
then when it is finished loading, press Ctrl C then run: then when it is finished loading, press Ctrl C then run:
``` ```
chmod +x install-chunkymap-on-ubuntu.sh && ./install-chunkymap-on-ubuntu.sh chmod +x install-chunkymap-on-ubuntu.sh && ./install-chunkymap-on-ubuntu.sh
``` ```
Installing as cron job is OPTIONAL (and NOT recommended): Installing as cron job is OPTIONAL (and NOT recommended):
* IF you are using a distro such as Ubuntu 14.04 where first line of /etc/crontab is "m h dom mon dow user command" then if you want regular refresh of map then run: * IF you are using a distro such as Ubuntu 14.04 where first line of /etc/crontab is "m h dom mon dow user command" then if you want regular refresh of map then run:

Loading…
Cancel
Save