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-2023.git
.
And you're done! The project will have been downloaded into a new folder called frc-2023
.
- Open a terminal and
cd
into the project directory (frc-2023
). - 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
.