server

command module
v0.0.0-...-fee577c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2022 License: MIT Imports: 7 Imported by: 0

README

dots server

Server for Dots game

Install dependencies

make install

Generate protobuf & docs

make generate

Presequinces

dots_server requires folder for log files. To create it run:

sudo mkdir /var/log/dots
sudo chown $USER /var/log/dots

Build

Docker

To build docker image use:

make build_docker

Run

Binary

To run server use:

make run
Docker

To run server in docker use:

make run_docker

Or use prebuilded version:

docker run -d -p 8080:8080 -p 8090:8090 --name dots_server ghcr.io/iakrevetkho/dots/server:<version>

Test

Unit test

For unit tests use:

make test
Lint

For lint use:

make lint
gRPC

For testing gRPC API use Kreya

Folder kreya contains Kreya project for working with the project.

Also archaeopteryx is compatible with gRPC reflection

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
proto
gen/spot/v1
Package user is a reverse proxy.
Package user is a reverse proxy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL