Make sure you have Git installed, as well as some form of code editor. Visual Studio Code is recommended, as well as the Microsoft Extension Pack for Java.
- Open a terminal and
cd
into the directory you want to clone the repository into. - Install Git if you haven't already.
- Run the command
git clone https://github.com/Pigmice2733/frc-2024.git --recurse-submodules
.
And you're done! The project will have been downloaded into a new folder called frc-2024
.
- Open a terminal and
cd
into the project directory (frc-2024
). - To build the code, run
./gradlew build
. - To run all unit tests, run
./gradlew test
. - To deploy the code to the robot, make sure you're connected to the robot either over WiFi or through Ethernet. Then run
./gradlew deploy
.