Skip to content

Little tool to check the weather and send automatic notifications for Caronaboard marketing

Notifications You must be signed in to change notification settings

CaronaBoard/weather-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CaronaBoard Weather Checker

This is a small rust script that checks the weather and send an email if it is raining. To run it, you just need docker.

First, you have to build it:

make build

Set your env variables properly:

export API_KEY='open weather api key'
export EMAIL_TO='email destination'
export SMTP_PASS='mailgun smtp pass'

Then run it:

make run

For development mode, you can use cargo run instead of make, to run it outside docker.

Deploy

The deploy is currently manual, to heroku. To run it:

heroku plugins:install heroku-container-registry
heroku container:login
heroku container:push web

That's it!

About

Little tool to check the weather and send automatic notifications for Caronaboard marketing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published