StravaElevation
Adds comments to Strava rides to track custom goals
How To Run
client_id=<> client_secret=<> refresh_token=<> go run StravaElevation.go
How to run on AWS Lambda
- Setup environment variables on the lambda
- build to AWS lambdas spec
GOARCH=amd64 GOOS=linux go run StravaElevation.go
- zip files
zip StravaElevation.zip StravaElevation StravaElevation.go
- Upload zip to AWS
- install terraform CLI
- install AWS CLI
- configure AWS CLI
aws configure
- Make sure terraform.tf is referring to the correct AWS profile. ("default" by default)
terraform plan to create a change plan
terraform apply to apply(deploy) a plan
terraform destroy to destroy all infrastructure
How to generate a Terrafom Graph
dot command privided by Graphviz
terraform graph | dot -Tpng > graph.png
Strava Authentication Docs
How to contribute
- Use [Conventional Commits] when writing commit messages (https://www.conventionalcommits.org/en/v1.0.0/)
- Make a pull request
- Descriptive title
- Descriptive description
- Related issues listed in the description
- Rebase on top of origin/main
- Squash code into a single commit