A game server cluster management tool using HTTP/REST.
Can run as a one-node or multi-node cluster. Some knowledge of network management and configuration is required to setup and run. I.e. setting up machines, exposing addresses and ports, etc.
This project is under development. To see the roadmap please view the public Trello Board: https://trello.com/b/Eb2I4WiC/thorium-go-development
- install Golang (1.4) and setup $GOPATH to work with this repository
- configure and run a Postgres instance
- configure and run a Redis instance
- modify the address and port info inside database/thordb.go script to point to your datastore addresses (from above)
- generate your own RSA keys and replace the ones in keys/ as outlined here: https://gist.github.com/cryptix/45c33ecf0ae54828e63b
- compile your own bolt-server.exe and implement the same startup requests as found in the reference implementation cmd/bolt-server/bolt-server.go
- please note: HTTP/REST can be implemented in Unity and not just Golang!
-
Start Postgres and Redis
-
Start a Master node
go run cmd/master-server/master-server.go
- Start a Game Server node
go run cmd/game-server/game-server.go
These applications can also be built and run as standalone binaries using the 'go build' tool.
For tips on implementing a new client, see the reference implementation at cmd/client/client.go and the cmd/test/ scripts directory for demos of different use-cases