In core folder:
cargo build
cargo test
In backend folder:
go run main.go
Run tests:
ACCESS_TOKEN="TEST" JWT_SECRET="test" go test -v -race ./...
In backend folder:
iex -S mix
Run tests:
ACCESS_TOKEN="TEST" JWT_SECRET="test" go test -v -race ./...
In websocket-client folder:
npm install
npm run build
In frontend folder:
npm install
elm make
elm-app start
bin/build.sh
bin/run.sh
The communication between the backend and core happens using binary encoding using Protobuf.
To generate protobuf modules, use the Mix task provided:
mix gen_proto ping.proto
To generate protobuf modules, use the Cargo make task provided:
cargo make gen_proto start_game.proto