add email sending script to repo

This commit is contained in:
Andrej Karpathy
2021-11-27 11:19:55 -08:00
parent 49995465df
commit 5eece3f992
2 changed files with 222 additions and 0 deletions
+2
View File
@@ -35,6 +35,8 @@ export FLASK_APP=serve.py; flask run
All of the database will be stored inside the `data` directory. Finally, if you'd like to run your own instance on the interwebs I recommend simply running the above on a [Linode](https://www.linode.com), e.g. I am running this code currently on the smallest "Nanode 1 GB" instance indexing about 30K papers, which costs $5/month.
Finally, if you'd like to send periodic emails to users about new papers, see the `send_emails.py` script. I run this script in a daily cron job.
#### todos
- I need a proper requirements.txt and such