add requirements.txt ty @Prakyathkantharaju and @e-tornike for help
This commit is contained in:
parent
31e02f267c
commit
6df5f1d178
14
README.md
14
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.
|
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
|
- 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
|
- Build a reverse index to support faster search, right now we iterate through the entire database
|
||||||
|
|
||||||
|
|||||||
5
requirements.txt
Normal file
5
requirements.txt
Normal file
@ -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
|
||||||
Loading…
Reference in New Issue
Block a user