Better setup instructions and add missing games

This commit is contained in:
DeathByDenim 2022-07-05 12:43:36 -04:00
parent dcaa7b9257
commit 4782ca5383
Signed by: DeathByDenim
GPG Key ID: 4A475283D925365B
1 changed files with 13 additions and 5 deletions

View File

@ -15,19 +15,27 @@ The following games are deployed:
* Mindustry
* OpenHV
* OpenSpades
* Soldat
* SuperTuxKart
* Teeworlds
* Super Tux Party
* Teeworlds (optionally as DDrace)
* Unvanquished
* Xonotic
* Xonotic (optionally as Battle Royale)
It is based on https://git.libregaming.org/c/onFOSS-LAN-Serverconfiguration
## Installation
The main script is `deploy.sh`. You only need to give if your domain name
The main script is `deploy.sh`. You only need to give if your domain name and your own name.
```
DOMAINNAME=play.jarno.ca HOSTEDBYNAME=DeathByDenim ./deploy.sh
```
This will download all the game servers, install them, configure them, and start them up. It also retrieves a certificate for Let's Encrypt for the web interface.
This will download all the game servers, install them, configure them, and start them up. It also retrieves a certificate for Let's Encrypt for the web interface. If you don't want the certificate, you can also specify `NOSSL=1`.
The password for the admin panel as well as for game servers that support admin password is stored in `/etc/gameserverpassword`.
There is also support for generating just the website without the game server which is useful if you want to host the website somewhere else while your main server is down.
```
DOMAINNAME=play.jarno.ca HOSTEDBYNAME=DeathByDenim ./pack_web_offline.sh
```
The webpage will display "OFFLINE" and not attempt to show the server stats.
The password for the admin panel as well as for game servers that support admin password is stored in `/etc/gameserverpassword`. The username for the admin panel is just `onfoss`.