Categorygithub.com/ycombinator/usta-norcal-club-newsletter
repositorypackage
0.1.0
Repository: https://github.com/ycombinator/usta-norcal-club-newsletter.git
Documentation: pkg.go.dev

# README

USTA NorCal Club Newsletter

This project provides a CLI tool to generate a newsletter for a tennis club participating in a USTA Norcal League. The newsletter consists of recent past results and upcoming fixtures.

Installation

  1. Download the latest release from https://github.com/ycombinator/usta-norcal-club-newsletter/releases.

  2. Extract (unzip or untar) the release.

  3. Locate your platform's folder.

    cd $RELEASE_DIR/dist/$YOUR_OS/$YOUR_ARCH
    

    For example, if you've downloaded the 0.1.0 release and are on a 2019 Macbook Pro:

    cd usta-norcal-club-newsletter-0.1.0/dist/darwin/amd64
    
  4. Run the executable.

    ./usta-norcal-club-newsletter [<ORG_ID>]
    

    The ORG_ID argument is optional. The default ORG_ID is 226, which is the Organization ID for Almaden Valley Athletic Club.

    Screenshot showing the organization ID for Almaden Valley Athletic Club

Development

  1. Download and install Go.

  2. Install project dependencies.

    cd usta-norcal-club-newsletter
    go get
    
  3. Run the tool.

    go run main.go [<ORG_ID>]