Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.13 KB

README.md

File metadata and controls

29 lines (22 loc) · 1.13 KB

lol-counter-bot

A discord bot that display possible counters for picks in leauge of legends lol-counter-source-api and exposes for faster consumption.

Prerequisites

You must have the following installed/configured on your system for this to work correctly

  1. Docker
  2. Docker-Compose

Environment Variables

The following variables need to be set on your local/ci system.

COUNTER_API_URL

Url of the deployed lol-counter-api

DISCORD_BOT_TOKEN

token that grants bot access to your discord server.

Deployment

Deployment currently uses Terraform to set up AWS services.

Setting up remote state

Terraform has a feature called remote state which ensures the state of your infrastructure to be in sync for mutiple team members as well as any CI system.

This project requires this feature to be configured. To configure USE THE FOLLOWING COMMAND ONCE PER TEAM.

cd terraform/remote-state
terraform init
terraform apply