Currently, the production server reads from a Redis database which is updated by another machine scraping. This proves to be difficult for developers to test with. This pull request:
Adds a flag --scrape to app.py.
Modifies app.py to run local_scraper code instead of reading from the Redis database if this flag is true.
Adds package.json flags to run with the scraper for yarn backend.
Currently, the production server reads from a Redis database which is updated by another machine scraping. This proves to be difficult for developers to test with. This pull request:
app.py
.app.py
to runlocal_scraper
code instead of reading from the Redis database if this flag is true.yarn backend
.