基于Erlang/OTP实现的分布式游戏服务器
Distributed Game Server Based On Erlang/OTP Implementation
- Erlang/OTP 26
- PostgreSQL 15
- Mongo 7
- Redis 7
- Emqx 5
- Docker
- Prometheus
- EFK
git clone https://github.com/jostar-y/egsx.git
cd egsx
escript rebar3 compile
tool/cfg.ini
config/*.erlcfg
cd tool
.\egsx_es_nodetool.cmd install center 1
.\egsx_es_nodetool.cmd install login 1
.\egsx_es_nodetool.cmd install gateway 1
.\egsx_es_nodetool.cmd install zone 1
cd tool
.\egsx_es_nodetool.cmd start center 1
.\egsx_es_nodetool.cmd start login 1
.\egsx_es_nodetool.cmd start gateway 1
.\egsx_es_nodetool.cmd start zone 1