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.
-
Download the latest release from https://github.com/ycombinator/usta-norcal-club-newsletter/releases.
-
Extract (unzip or untar) the release.
-
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
-
Run the executable.
./usta-norcal-club-newsletter <ORG_ID>
The
ORG_ID
argument is optional. The defaultORG_ID
is 226, which is the Organization ID for Almaden Valley Athletic Club.
-
Download and install Go.
-
Install project dependencies.
cd usta-norcal-club-newsletter go get
-
Run the tool.
make run
If you want to specify the organization ID:
ORG_ID=xxx make run