frc-scouting-database-v2

module
v0.0.0-...-1afd41f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2024 License: MIT

README

FRC Scouting Database V2

This project exists to ease the burden on human scouts during busy and exciting robotics competitions. The event analyzer utilizes data from the Blue Alliance API to fetch team and match data from targeted events.

Version 2 iterates on the previous version by introducing automation, more features, and cleaner code. V2 is written entirely in Go, enabling more consistent and faster execution, and to maintain better tests and reproducibility from the original version.

How to Use:

  1. Ensure dependencies are installed.
  2. Clone the repository git clone https://github.com/ptdewey/frc-scouting-database-v2.git
git clone https://github.com/ptdewey/frc-scouting-database-v2.git
  1. Add 2 .env files in config/ (create this directory if necessary):
    • app.env (containing a The Blue Alliance api key that can be obtained from their website)
      • API_KEY="{api-key}"
    • bot.env (containg a discord bot token and channel id to send automated updates to)
      • DISCORD_BOT_TOKEN="{bot-token}"
      • DISCORD_CHANNEL_ID="{channl-id}"
  2. Run using Docker Compose.
docker-compose up --build -d

After this, the application will be running in two separate containers, one for the data exporter bot and one for the event analyzer.
Output data can be found in the project-root/output directory with subfolders for years and events, with event folders being named by event key.

Dependencies

Name Version
Docker >= 24.0.5
docker-compose >= 1.29.2

Powered by The Blue Alliance

Directories

Path Synopsis
cmd
app
bot
internal
api
bot
pkg
app

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL