# Build the Docker image
docker-compose build
# Run the Docker container
docker-compose up
# Stop the container
docker-compose down
# Generate required files
# To run the app
go run *.go
go build -o ./bin # builds binary in ./bin
go install # installs app in $GOBIN or $GOPATH of the system.
Using docker dev container
Update as more proto defns are added
protoc --proto_path=internal/protobufs/assets --go_out=internal/protobufs --go_opt=paths=source_relative client_server_message.proto server_client_message.proto player_data.proto other_payloads.proto game_message_payload.proto chat_message_payload.proto
├── bin
│ └── atlas-backend
├── go.mod
├── go.sum
├── internal # internal packages
│ ├── game_room
│ │ ├── data_models.go
│ │ └── game_room.go
│ ├── protobufs # protobuf defs and gens
│ │ ├── game.pb.go
│ │ └── game.proto
│ └── web_socket
│ └── websocket_handler.go
├── main.go # entry point
├── packages # exportable packages
├── README.md
└── tests
└── test_client.go