The Nakama Server to run the Networked Pong Prototype.
It is a mostly unmodified server following the guide at: https://heroiclabs.com/docs/nakama/getting-started/install/docker/
- Docker: https://www.docker.com/
- Check Installation with
docker --version
- Check Installation with
- Node.JS: https://nodejs.org/en/
- Check Installation with
node -v
- Check Installation with
Assuming the repo has been cloned / extracted to a suitable location:
Navigate inside the folder using terminal.
Install the node dependencies using: npm install
Make sure you have Docker running.
Inside the cloned folder, using a terminal run: docker-compose up --build nakama
Navigate to: localhost:7351
Default login information is: username, password
To update the server logic (new RPCs etc) run: docker-compose up -d --build nakama
To stop the server run: docker compose stop