To set up the project and dependencies for your base architecture
docker build -t pi-chat-sim:latest .
docker run --rm -it --name pi-chat-dev --memory="4g" --cpus="4" -v $(pwd):/workspace pi-chat-sim:latestTo set up the project and dependencies with arm64 execution (uses emulation on non-arm platforms)
First make sure emulation is set up in docker
$ docker run --privileged --rm tonistiigi/binfmt --install allThen build and run the image
$ docker buildx build --platform linux/arm64/v8 -t pi-chat-sim:latest .
$ docker run --rm -it --name pi-chat-dev --memory="4g" --cpus="4" --platform linux/arm64/v8 -v $(pwd):/workspace pi-chat-sim:latestUsing make, you can build the binaries with:
$ make allYou can run the server with:
$ make run_serverYou can run the client with (IP defaults to localhost):
$ make run_client IP_ADDRESS=127.0.0.1