Skip to content
forked from yncog/nakama

Distributed server for social and realtime games and apps.

License

Notifications You must be signed in to change notification settings

bubbleTeaSam/nakama

 
 

Repository files navigation

Nakama

Original Readme

Running locally

  • Docker Compose - You will need to install Docker/Docker Compose for your OS (if on Windows you need to switch to Linux guests). The local docker-compose.yml is already configured to run the forked version's container yncog/nakama. To build it locally follow the Build instructions bellow.

  • Container version - Create an .env file in the same folder as docker-compose.yml with a single line (or define an env var for your terminal session):

    NAKAMA_TAG=2.12.0

  • Custom scripts - Put any scripts in the data/modules folder, before starting (or restart nakama's container after)

  • Run it - In a terminal inside the same folder run (may need sudo):

    docker-compose up -d

  • Restart nakama - Run:

    docker-compose stop nakama && docker-compose up -d

Building Nakama

  • Console JS - in a terminal inside the console/ui folder run

    yarn run build

  • Package JS inside Go binary - in a terminal inside the console folder run (depends on Packr)

    packr

  • Go code - run the hooks/build script (may need sudo)

About

Distributed server for social and realtime games and apps.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 80.0%
  • TypeScript 10.2%
  • Lua 7.9%
  • Shell 1.0%
  • Yacc 0.5%
  • Dockerfile 0.2%
  • Other 0.2%