Skip to content

EvergenEnergy/remote-standby

Repository files navigation

Remote Standby

This service operates as a backup controller for remote-commands-handler. If it detects a lack of commands arriving for the handler to process, it will step in and issue commands in order to maintain a basic level of control.

Getting Started

All dependencies can be run using docker compose. To run locally, create your own .env file.

To run from the command line:

docker compose up -d
set -o allexport; source .env; set +o allexport
go run .

Prerequisites

  • Go v1.22+
  • golangci-lint v1.55+

Running tests

The flag -short will skip integration tests which require running Docker.

go test -race -short -v ./...

It is however advised to use make:

make test.unit

The following will run integration tests only:

make test.integration

Linting

This project uses golangci-lint for checking coding style.

Install the latest version of golangci-lint.

golangci-lint run

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors