tibbing / seawolves-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Seawolves-server

Description

This is the serverless backend of a turn-based strategy game, inspired by Herrscher der Meere ("Ruler of the Seas") published by attic Entertainment Software GmbH in 1997.

Prerequisites

This repository is intended to be opened using VS Code Dev Containers. This means that all the tooling you need should be available already, as long as you have Docker installed.

To get started, install the extension if you need to, and then VS Code should prompt you to open the workspace in remote container instead. If not, choose "Remote Containers: Open Folder in Container..." from the command palette.

Usage

Build

To build all lambda functions:
sh build.sh

To build a specific lambda function:
sh build.sh [function name]

Test

go test lib/... -v && go test app/... -v

Deploy

This application is built for AWS Lambda. Running the build script will output one zip file per lambda function, ready to deploy. A CI/CD pipeline will be used in the future to automate this process.

License

License: GPL v3

See LICENSE for full details.

About

License:GNU General Public License v3.0


Languages

Language:Go 92.3%Language:Dockerfile 6.8%Language:Shell 0.9%