Skip to content

Get emails every morning to see if there are burgers at the ETH Polymensa

License

Notifications You must be signed in to change notification settings

kepler-69c/burgerBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

burgerBot

Get emails every morning to see if there are burgers at the ETH Polymensa.

setup

Deploy with Vercel

.env variables

  • email email address from which the emails are sent
  • password password / app password of the email address

recipients

Stored in Google Firestore DB. See helpers/db.py. To access the DB, one must have a service account key file named serviceAccountKey.json.

For vercel, the .json file with the credentials must be converted to base64 and stored in the environment variable B64_FIREBASE_CREDENTIALS. Convert with

base64 serviceAccountKey.json > key.b64

api, settings

specified and explained in config.toml

timing

specified by the crontab in vercel.json

other

tests

All tests are in the /test/ folder, in files ending in _test.py.

To run the tests (using unittest), run

python3 -m unittest discover -s test -p "*.py"

About

Get emails every morning to see if there are burgers at the ETH Polymensa

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors