Skip to content

FIRST-Robotics-Competition/FTA-Notepad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FTA Notepad

The official FTA notepad tool, for collaboration on the field between FTAs, FTAAs, and CSAs.

Prerequisites

Building

  • Open the folder in VS Code
  • Open a Javascript Debug Console (Ctrl-Shft-p, search for Javascript Debug Console)
  • Run cd ui
  • Run npm i
  • Run npm run dev
    • This will start the app in debug mode. You can see the url it starts on in the log, should be http://localhost:5173/

At this point, the app should be running and doing live reloading. Changes to the code are usually automatically picked up on refresh, and setting breakpoints should work.

FMS Configuration

You'll want an FMS build that allows CORS requests from http://localhost:5173 to allow your local development version of FTA Notepad to talk to FMS APIs.

You'll also need to manually create an entry in the FMS database for an API key to use - the off-season FMS builds will not have any API keys configured out of the box.

If you have a Apple Silicon mac, see these instructions.

To create a token for development, see the instructions to use SSMS to create a token

Contributing

We enforce prettier on CI. To run locally, you can use npx prettier --write . in the ui folder, which will reformat your code to match our .prettierrc. General work should be against the dev branch; we use main for active release and hotfixing.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7