Build from Source
To compile and run P2G on your machine, follow the below steps.
Setup
- Install the latest dotnet 7.0 SDK
 - Clone the GitHub repository locally
 - In the local repo, find the file named 
configuration.example.json. Make a copy of it and name itconfiguration.local.json. - Open a terminal and run the below one-time setup steps:
 
> cd peloton-to-garmin
> dotnet restore
> dotnet build
To run P2G
Console
- Move 
configuration.local.jsoninto thesrc/ConsoleClientdirectory - Open 
configuration.local.jsonin a text editor of your choice and edit it to use your Peloton and Garmin credentials 
> dotnet run --project ./src/ConsoleClient/ConsoleClient.csproj
Windows UI
> dotnet run --project ./src/ClientUI/ClientUI.csproj
Web UI
> dotnet run --project ./src/WebUI/WebUI.csproj
> dotnet run --project ./src/Api/Api.csproj
Updating
> git fetch
> git pull
> cd peloton-to-garmin
> dotnet restore
> dotnet build