Skip to content

mjonasz/beer-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BeerChecker

Simple app to monitor rare beers sales with email notifications

Usage

It is possible to run this app locally or to release for standalone usage on remote server.

Run locally

iex -S mix

Run tests

mix test

Release with distillery

export MIX_ENV=prod # or dev
mix release # create binaries
# upload _build/prod/rel/beer_checker/releases/<version>/beer_checker.tar.gz to server and untar
# on server
export REPLACE_OS_VARS=true # better add to some ~/.profile
beer_checker/bin/beer_checker start # run in background

Logs can be found in ~/beer_check.log (remember to set REPLACE_OS_VARS environment variable)

TODO

  • extract from and to email fields to config (secret?)
  • allow multiple email recipients
  • systemd (start/stop/etc)
  • ansible (building and deployment)
  • better tests
  • add more beers to check

About

simple app to monitor rare beers sales with email notifications

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published