Skip to content

ECFMP/discord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

fb6b284 · Dec 19, 2023
Sep 26, 2023
Oct 12, 2023
Oct 26, 2023
Oct 1, 2023
Dec 18, 2023
Oct 13, 2023
Oct 17, 2023
Oct 18, 2023
Oct 13, 2023
Oct 13, 2023
Oct 17, 2023
Oct 17, 2023
Sep 29, 2023
Sep 22, 2023
Dec 19, 2023
Sep 22, 2023
Oct 12, 2023
Oct 18, 2023
Oct 17, 2023
Oct 17, 2023
Dec 19, 2023
Dec 19, 2023

Repository files navigation

ECFMP Discord

ECFMP Discord Service. This service is responsible for interacting with ECFMP's Discord server in order to be notify flow managers of flow measure updates.

Local Development

A docker-compose file is provided for development convenience.

Before You Start

Before you start the containers, make sure you run make protobuf. This will generate the protobuf files that this service requires for other services to communicate with this.

Copy the .env.dev.example file to .env and set the bot token. This bot should be allowed to access the channel that you intend to publish messages onto.

Devcontainer

A devcontainer setup is provided for development.

Running Tests

Tests can be run using make test, which will run the tests in the main container. If you're in the dev container, you can run the tests by running go test -v ./....

Integrating

For how to integrate with this service, check out ECFMP's protobuf repo, which contains the protocol.