mirror of
https://github.com/heroiclabs/nakama-cpp.git
synced 2026-11-13 20:12:24 -10:00
* fix : run on ubuntu 22.04 to fix 'awaiting for runner' CI issue * fix : vcpkg path must match submodule path hardcoded from CMakePresets * fix : use upload-artifact v4 as v3 is deprecated * fix missing wslay include in Linux CI builds Fixes missing <wslay/wslay.h> during library compilation on Linux Ubuntu. * update : use integrationtest/ instead of client-testrunner repo * fix test compilation : include thread lib * upd : use Task to run tests
To find the apiKey within the satori server, you can connect to http://localhost:7451/settings/server-keys and get the default key for testing. If you deployed the docker from the satori repo directly, you can connect with the default credentials [email protected]/password
To generate the interface, you need the repositories nakama and satori in the same parent folder as this repository.
On nakama:
Successfully run the README.md section called ### Full Source Builds at least until subsection
3. Re-generate the protocol buffers, gateway code and console UI..
On satori:
Successfully run the README.md section called #### (Re-)generate Protobuf Stubs.
Here:
protoc -I. -I../../nakama/build/grpc-gateway-v2.3.0/third_party/googleapis -I../../nakama/vendor/github.com/grpc-ecosystem/grpc-gateway/v2 --cpp_out=./src --plugin=protoc-gen-grpc=%YOUR_PATH_TO_GRPC_CPP_PLUGIN%/grpc_cpp_plugin --proto_path=../../satori/api/ satori.proto
protoc -I. -I../../nakama/build/grpc-gateway-v2.3.0/third_party/googleapis -I../../nakama/vendor/github.com/grpc-ecosystem/grpc-gateway/v2 --grpc_out=./src --plugin=protoc-gen-grpc=%YOUR_PATH_TO_GRPC_CPP_PLUGIN%/grpc_cpp_plugin --proto_path=../../satori/api/ satori.proto