Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Latest commit

 

History

History
26 lines (21 loc) · 587 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 587 Bytes

athene-events-reminder

Telegram bot to remind about Athene events.

Running locally

The following environment variables are required:

export POSTGRES_HOST= # Host on which the postgres DB is running.
export DB_NAME= # Name of the db to connect to, within postgres.
export POSTGRES_PORT= # Port of postgres db to connect to.
export POSTGRES_USER= # Postgres user to use to connect.
export POSTGRES_PASSWORD= # Password of the user.

Then:

go mod tidy
go run cmd/server/server.go

Running tests

Make sure that docker is installed locally.

make test