From 3bbc985ea35c36a24b87e573b68d69c59414def8 Mon Sep 17 00:00:00 2001 From: Vishnu KS Date: Sun, 18 Oct 2020 16:15:07 +0530 Subject: [PATCH] utils: Include instructions on installing requirments. --- utils/README.MD | 9 +++++++++ utils/pyvenv.cfg | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/utils/README.MD b/utils/README.MD index 1e09eab..2ea4dcf 100644 --- a/utils/README.MD +++ b/utils/README.MD @@ -19,3 +19,12 @@ from `Goodreads` and `Google Search` API. And the result is stored in `utils/boo Once the script completes the run, the `utils/books.json` file is copied to `app/src/data/books.json` **manually**. And the website uses the data from `app/src/data/books.json` for generating the pages. + +## Install packages for script + +```bash +cd utils +virtualenv . +source bin/activate +pip install -r requirements.txt +``` diff --git a/utils/pyvenv.cfg b/utils/pyvenv.cfg index e7c42a0..e0687f5 100644 --- a/utils/pyvenv.cfg +++ b/utils/pyvenv.cfg @@ -1,6 +1,6 @@ home = /usr implementation = CPython -version_info = 3.8.2.final.0 +version_info = 3.8.5.final.0 virtualenv = 20.0.20 include-system-site-packages = false base-prefix = /usr