Browse Source

formatting

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

52
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)
such as:
```
#if you have a version before 2016-03-23:
if [ -f rename-deprecated.sh ]; then
rm rename-deprecated.sh
fi
wget https://github.com/expertmm/minetest-chunkymap/raw/master/rename-deprecated.sh
sudo sh rename-deprecated.sh
if [ -f install-chunkymap-on-ubuntu-from-web.sh ]; then
rm install-chunkymap-on-ubuntu-from-web.sh
fi
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
./install-chunkymap-on-ubuntu-from-web.sh
#or later run:
#rm 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
#./update-chunkymap-on-ubuntu-from-web.sh
#then (shutdown minetest first then) create singleimage map:
sudo python chunkymap/singleimage.py
#then start generator which will update player entries on your website (can be made anonymous--see viewchunkymap.php):
sudo python chunkymap/generator.py
#if you have a version before 2016-03-23:
if [ -f rename-deprecated.sh ]; then
rm rename-deprecated.sh
fi
wget https://github.com/expertmm/minetest-chunkymap/raw/master/rename-deprecated.sh
sudo sh rename-deprecated.sh
if [ -f install-chunkymap-on-ubuntu-from-web.sh ]; then
rm install-chunkymap-on-ubuntu-from-web.sh
fi
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
./install-chunkymap-on-ubuntu-from-web.sh
#or later run:
#rm 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
#./update-chunkymap-on-ubuntu-from-web.sh
#then (shutdown minetest first then) create singleimage map:
sudo python chunkymap/singleimage.py
#then start generator which will update player entries on your website (can be made anonymous--see viewchunkymap.php):
sudo python chunkymap/generator.py
```
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
(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:
```
minetestserver
minetestserver
```
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):
* 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