mirror of
https://github.com/CPunch/gopenfusion.git
synced 2024-11-14 20:10:06 +00:00
unknown
d7445e0f0f
- loginMetadata is passed to shards through redis now - shards announce they're alive via redis.AnnounceShard() which just populates a hashset keyed 'shards' - login servers grab the 'shards' hashset and randomly picks a shard to pass the player to (for now) - ./service shard && ./service login - Many new environment variables, check config/config.go for more info. or for a tl;dr just read the Dockerfile for the required ones - Shard and login services now run in different processes ! (and containers?? wooaaah)
5 lines
91 B
Bash
Executable File
5 lines
91 B
Bash
Executable File
#!/bin/sh
|
|
|
|
mkdir -p bin
|
|
CGO_ENABLED=0 GOOS=linux go build -o ./bin/server ./cmd
|
|
echo 'Done' |