Ut4HubServerDocker/README.md

48 lines
941 B
Markdown

#nstallation
1. Update Ubuntu Packages:
```<language>
sudo apt update
```
2. Install Git
```<language>
sudo apt install git -y
```
3. Clone (download) Repo Code:
```<language>
git clone https://git.polycompsol.com:3000/basshound/Ut4HubServerDocker.git
```
4. Change directory to go inside repo:
```<language>
cd Ut4HubServerDocker
```
5. Modify game config files accordingly. Primarily Game.ini, though Rulesets and other config can also be specified here.
6. To perform one step configure/run:
```<language>
sudo ./autoBuildDeploy
```
This will install Docker, build the docker image, download pak files (from pakFileList), create firewall rules, and deploy docker container.
#Stopping / Restarting Server
To stop the Server
```<language>
sudo docker stop Ut4HubServerDocker
```
To start the server
```<language>
sudo ./runServer
```
Restarting the server can be done by stopping and then starting using the above commands.