Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 630 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 630 Bytes

District Doughnut

A lambda function to scape the District Doughnut website and look for new flavors

Sends a notification to an SNS topic for both newly released and discarded flavors

Setup

For local compilation: (YMMV)

rustup target add x86_64-unknown-linux-musl
brew install filosottile/musl-cross/musl-cross
mkdir .cargo

echo '[target.x86_64-unknown-linux-musl]
linker = "x86_64-linux-musl-gcc"' > .cargo/config'

Otherwise, install Docker

Building and deploying

For compiling in Docker and deploying:

# Edit upload.sh first to change parameters to suit you
# Then run upload.sh
./upload.sh