Skip to content

Tracks custom Strava goals by adding comments to Strava rides

License

Notifications You must be signed in to change notification settings

harokevin/StravaElevation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Setup environment variables on the lambda
  2. build to AWS lambdas spec
GOARCH=amd64 GOOS=linux go run StravaElevation.go
  1. zip files
zip StravaElevation.zip StravaElevation StravaElevation.go
  1. Upload zip to AWS

How to deploy using terraform

  1. install terraform CLI
  2. install AWS CLI
  3. configure AWS CLI aws configure
  4. Make sure terraform.tf is referring to the correct AWS profile. ("default" by default)
  5. terraform plan to create a change plan
  6. terraform apply to apply(deploy) a plan
  7. 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

About

Tracks custom Strava goals by adding comments to Strava rides

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors