This repository has been archived on 2026-01-31. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
hackernews-lambda-on-aws/README.md
2022-07-25 19:05:37 +02:00

13 lines
311 B
Markdown

# hackernewsletter
Command to build the executable for manual upload to Lambda:
GOOS=linux CGO_ENABLED=0 go build -o main .
Required variables:
- FETCH_SIZE: how many news to fetch
- BATCH_SIZE: batch size for DB write
- REGION: AWS region
- SENDER: sender email address
- RECIPIENT: recipient email address