# Installation 1. Update Ubuntu Packages: ``` sudo apt update ``` 2. Install Git ``` sudo apt install git -y ``` 3. Clone (download) Repo Code: ``` git clone https://git.polycompsol.com:3000/basshound/Ut4HubServerDocker.git ``` 4. Change directory to go inside repo: ``` 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: ``` 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 ``` sudo docker stop ut4hubserver ``` To start the server ``` sudo ./runServer ``` Restarting the server can be done by stopping and then starting using the above commands. # Viewing Logs You can view a simple output of the log file by running: ``` sudo ./viewLog ``` This is simply a wrapper for the docker command: ``` docker exec -it ut4hubserver cat /home/ut/LinuxServer/UnrealTournament/Saved/Logs/UnrealTournament.log ``` To tail the logs (to have screen refresh with any update): ``` docker exec -it ut4hubserver tail -F /home/ut/LinuxServer/UnrealTournament/Saved/Logs/UnrealTournament.log ```