Little webapp for showing status and player info for Source Engine games.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
requirements
static
templates
tests
.agignore
.dockerignore
.drone.yml
.drone.yml.sig
.eslintrc
.gitignore
Dockerfile
Makefile
README.md
app.py
docker-compose.yml
docker-entrypoint.sh
logconf.py
setup.py
tox.ini

README.md

Game Server Overview

Build Status

Quick implementation of a little overview for showing dfekt.no's game servers.

For querying the game servers i use the SourceQuery class from SourceLib by Andreas Klauer

The webserver is implemented using flask.

Installation

Debian

Install Python 3, Pip, Virtualenv and build essentials:

apt-get install python3 python3-pip python-virtualenv build-essential

Common

Clone the repository:

 git clone https://github.com/kradalby/gso.git

Create a virtual environment and install requirements:

cd gso
make env
make prod

Run the app:

make run

Note that running it this way is mainly for development, for deployment, i recommend uWSGI which will be installed as a dependency during the "make prod" step.

Usage

In gso.py add your own servers to the SERVERS. Edit the index.html to your own needs.