mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Include UID fix
This commit is contained in:
parent
e6beea2ffa
commit
c80d24cc44
2 changed files with 7 additions and 5 deletions
|
@ -130,13 +130,15 @@ Compiling
|
|||
Docker
|
||||
------
|
||||
|
||||
Server Quick Start:
|
||||
```
|
||||
Quick Start:
|
||||
```bash
|
||||
# One-command server setup with VoxeLibre game
|
||||
mkdir -p ~/luanti/{data,conf,games} && \
|
||||
wget https://raw.githubusercontent.com/luanti-org/luanti/master/minetest.conf.example -O ~/luanti/conf/minetest.conf && \
|
||||
wget https://content.luanti.org/packages/Wuzzy/mineclone2/releases/30536/download/ -O ~/luanti/mineclone2.zip && \
|
||||
unzip ~/luanti/mineclone2.zip -d ~/luanti/games/ && \
|
||||
echo "name = AdminUser" >> ~/luanti/conf/minetest.conf && \
|
||||
sudo chown -R 30000:30000 ~/luanti/{data,conf,games} && \
|
||||
docker run -d \
|
||||
-v ~/luanti/data:/var/lib/minetest \
|
||||
-v ~/luanti/conf:/etc/minetest \
|
||||
|
@ -148,6 +150,7 @@ docker run -d \
|
|||
--gameid mineclone2 --port 30000
|
||||
```
|
||||
|
||||
For more details:
|
||||
- [Developing minetestserver with Docker](doc/developing/docker.md)
|
||||
- [Running a server with Docker](doc/docker_server.md)
|
||||
|
||||
|
|
|
@ -22,14 +22,13 @@ mkdir -p ~/luanti/{data,conf}
|
|||
# Download proper configuration file (REQUIRED)
|
||||
wget https://raw.githubusercontent.com/luanti-org/luanti/master/minetest.conf.example -O ~/luanti/conf/minetest.conf
|
||||
|
||||
# Add your admin username to the configuration
|
||||
echo "name = AdminUser" >> ~/luanti/conf/minetest.conf
|
||||
|
||||
# Download and extract a game (if you don't have one already)
|
||||
mkdir -p ~/luanti/games
|
||||
wget https://content.luanti.org/packages/Wuzzy/mineclone2/releases/30536/download/ -O ~/luanti/mineclone2.zip
|
||||
unzip ~/luanti/mineclone2.zip -d ~/luanti/games/
|
||||
|
||||
sudo chown -R 30000:30000 ~/luanti/{data,conf,games}
|
||||
|
||||
# Run the server
|
||||
docker run -d \
|
||||
-v ~/luanti/data:/var/lib/minetest \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue