This directory contains codebase for Chess Data Management service. It is written in Go language and provides functionality described here:
- kerberos authentication
- handling meta-data in MongoDB
To build server code please use make command:
make
To run the service use the following command:
web -config server.json
For server configuration parameters please refer to server.json and/or Configuration data-structure.
If you prefer, you may run the service via docker:
# create /tmp/etc area with your files:
# krb5.keytab, krb5.conf, tls.crt, tls.key, server.json
# run docker container and mount this area to /etc/web
# the default port is 8243
docker run --rm -h `hostname -f` -v /tmp/etc:/etc/web -i -t veknet/chess