Skip to content

a notification system that informs you when new stuff is up for sale in your favourite tea store

Notifications You must be signed in to change notification settings

propan/tea-alert

Repository files navigation

tea-alert Build Status

a notification system that informs you when new stuff is up for sale in your favourite tea store

Building

  1. Checkout sources
  2. Build with lein uberjar

Configuration

The service requires the following environment variables:

  • AWS_ACCESS_KEY_ID - an AWS key to be used to access S3 for storing temporary data
  • AWS_SECRET_ACCESS_KEY - an AWS secret to be used to access S3 for storing temporary data
  • MAILJET_KEY - a Mailjet key that is used for sending notification emails
  • MAILJET_SECRET- a Mailjet secret that is used for sending notification emails
  • SENDER_EMAIL - an email that is configured in Mailjet and is used as a sender of notifications
  • RECIPIENTS - a comma separated list of notification recipients. Addresses must follow RFC822 syntax.
  • ALERT_RECIPIENTS - a comma separated list of alerts recipients. Addresses must follow RFC822 syntax.

AWS Permissions

The AWS key used to access should give read/write permissions to tea-alert/buffer.edn and tea-alert/storage.edn file on S3.

Usage

Run java -jar tea-alert-standalone.jar

Docker Image

Run lein test && lein uberjar && docker build -t tea-alert .

License

Copyright © 2016-2018 Pavel Prokopenko

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

a notification system that informs you when new stuff is up for sale in your favourite tea store

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published