The following steps need to be taken. The command prompt commands are given, however your IDE might have other ways of doing this.
git clone https://github.com/FairportRobotics/xrp
Once the repository is cloned, you will want to change into the xrp directory
cd xrp
We want to create a self-contained environment
python -m venv .venv
You want the packages installed to the virtual environment so you need to activate it
Windows:
.venv\Scripts\activate
On Mac:
source .venv/bin/activate
Install the package with pip to your virtual environment with
pip install robotpy
If you have previously installed this package, update it with
pip install --upgrade robotpy
It takes a couple of steps: Create the branch
git branch YOUR_BRANCH_NAME_HERE
Checkout the branch
git checkout YOUR_BRANCH_NAME_HERE
Push the branch to GitHub
git push origin YOUR_BRANCH_NAME_HERE
We can get some boilerplate by using this command
python -m robotpy init
This creates pyproject.toml and robot.py files
First add your changes
git add .
Commit your changes with a helpful message
git commit -m "Initial commit"
Then push the changes to GitHub
git push