Skip to content

Team865/ScoutingApp-2026

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

188 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scouting App (2026)

This is the repository for the 2026 Scouting App.
To host the app locally, please follow the following steps:

Windows

Important

Prerequisite Requirements:

  1. Run the following command after the initial download and any subsequent git pull just in case new packages have been added to the project:
    • The command below and any subsequent command needs to be run in a terminal (emulator) such as Command Prompt or Powershell
.\scripts\setup.bat
  1. Get the service_account.json file from somebody who has the Google API credentials.
  2. Setup the .env file (with no name) in the root directory. Your file contents should look like the following:
TBA_API_KEY=KEY_STRING
SHEETS_ID=ID_STRING
EVENT_KEY=EVENT_KEY_STRING
IS_PROD=BOOLEAN

Note

Don't add a space before or after the equal signs.
Don't wrap any of the STRING values in quotation marks. Just write the value as is (i.e. put TBA_API_KEY=lris2903 instead of TBA_API_KEY="lris2903")

.env Name Value
TBA_API_KEY Your TheBlueAlliance API key. Get one yourself at https://www.thebluealliance.com/account or from a lead.
SHEETS_ID The Spreadsheet ID of the google sheets (see https://developers.google.com/workspace/sheets/api/guides/concepts). Do note that this is the spreadsheet ID, NOT A (WORK)SHEET ID
EVENT_KEY Your TheBlueAlliance event key. For example for Centennial 2025 (https://www.thebluealliance.com/event/2025onsca), the key would be 2025onsca. The key can be found in the url of the TBA link.
IS_PROD A boolean (represented as a 0 or 1, write it as a number and not as false/true) which represents the current environment context. If the value is false (0), then scripts will run in a development context (which will add tools like source maps). If the value is true (1), then scripts will run in a production context (files will be built for distribution).
  1. To host the app locally, run:
.\scripts\deploy.bat
  1. If you are making any changes to TypeScript files, run the following command from a different terminal to rebuild without having to redeploy:
.\scripts\build.bat

Important

You don't need to rebuild CSS files, they automatically update (just refresh the page) If you make changes to python or HTML files, you will need to rerun the deploy.bat file because they don't get hot reloaded.

  1. Access the app via port 5000 (or 5005 if IS_PROD is 0) (i.e. type localhost:5000 into your browser)
  2. Page routes:
    • Scouting: localhost:5000
    • Superscouting/Pit Scouting: localhost:5000/superscouting
    • Analysis: localhost:5000/analysis

Tip

You can access the app from other devices (i.e. mobile devices) by replacing localhost with your host computer's ip address (i.e. XXX.XXX.X.X:5000) (see https://www.med.unc.edu/it/guide/operating-systems/how-do-i-find-the-host-name-ip-address-or-physical-address-of-my-machine/ for a guide on how to find it)

Mac & Linux

Unfinished, please view the .bat scripts used in the Windows setup and adapt accordingly.

About

2026 Warp7 Super Scouting app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •