From 7bd6631e33b38fca6229ec950d3d902f9e15d003 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Sat, 4 Feb 2023 22:28:53 +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 e63ce01..0caaa92 100644 --- a/README.md +++ b/README.md @@ -51,10 +51,8 @@ in `backend/tol_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/tol_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