From cc79c17fbc05bddc8b08f2734e721bc241123a4e Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Sat, 4 Feb 2023 22:39:48 +1100 Subject: Use requirements.txt for backend dependencies --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index d2ec2c6..e303e35 100644 --- a/README.md +++ b/README.md @@ -54,10 +54,8 @@ More details are in `backend/hist_data/README.md`. 1. If you don't have Python 3 installed, see . The package manager Pip is included. 1. The database used by the server is generated using scripts in `backend/hist_data/`. - See it's README for instructions. You'll likely need to install a few - packages using Pip. -1. To run the data server via `backend/server.py`, you'll need to install jsonpickle. - This can be done using `python -m pip install jsonpickle`. + See it's README for instructions. Package dependencies are listed in `backend/requirements.txt`. + They can be installed using `pip install -r requirements.txt`. If you want to keep the installed package separate from your system's packages, it's common practice to use [venv](https://docs.python.org/3/tutorial/venv.html). -- cgit v1.2.3