diff --git a/README.md b/README.md index 7141f0f..98fbe7c 100644 --- a/README.md +++ b/README.md @@ -32,11 +32,19 @@ 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. +(Optional) Finally, if you'd like to send periodic emails to users about new papers, see the `send_emails.py` script. You'll also have to `pip install sendgrid`. I run this script in a daily cron job. -#### todos +#### Requirements -- I need a proper requirements.txt and such + Install via requirements: + + ```bash + pip install -r requirements.txt + ``` + +#### Todos + +- Make website mobile friendly with media queries in css etc - The metas table should not be a sqlitedict but a proper sqlite table, for efficiency - Build a reverse index to support faster search, right now we iterate through the entire database diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..304d2b4 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,5 @@ +feedparser==6.0.8 +Flask==2.0.2 +numpy==1.21.4 +scikit-learn==1.0.1 +sqlitedict==1.7.0