From b0d2a9ab835c7da91014beca79a90ea1f5adb846 Mon Sep 17 00:00:00 2001 From: linsyking Date: Mon, 8 Jan 2024 20:19:06 -0500 Subject: [PATCH] docs: update readme Use virtual environment --- Readme.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index b8851a1..6f17377 100755 --- a/Readme.md +++ b/Readme.md @@ -37,10 +37,12 @@ git clone https://github.com/linsyking/CanvasHelper2.git cd CanvasHelper2 ``` -Install the dependencies: +Then install the dependencies. It is recommended to use a virtual environment for installation: ```bash -pip3 install -r requirements.txt +python -m venv env # You may want to change `python` to `python3` or other python binaries +source env/bin/activate # You may want to change the activation script according to your shell +pip install -r requirements.txt ``` If you don't want to change any settings (like CORS), you can directly run: (If you want to use frontend on our server, you must use `9283` port)