From 0e330f983b324b7ccba9ec6c13cf3d8d081de6fc Mon Sep 17 00:00:00 2001 From: KRISH SONI <67964054+krishvsoni@users.noreply.github.com> Date: Sat, 7 Oct 2023 16:44:55 +0530 Subject: [PATCH 1/7] Added alternative virtual environment activation command for Windows users in README --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index edeb7b66..c9296ba8 100644 --- a/README.md +++ b/README.md @@ -124,10 +124,16 @@ Make sure you have Python 3.10 or 3.11 installed. (check out [`application/core/settings.py`](application/core/settings.py) if you want to see more config options.) 2. (optional) Create a Python virtual environment: + On Mac OS or Linux ```commandline python -m venv venv . venv/bin/activate ``` +On Windows +```commandline +python -m venv venv +venv/Scripts/activate +``` 3. Change to the `application/` subdir and install dependencies for the backend: ```commandline pip install -r application/requirements.txt From 50d48ee3ec621b2c7c3e7536890c088b4cd32964 Mon Sep 17 00:00:00 2001 From: KRISH SONI <67964054+krishvsoni@users.noreply.github.com> Date: Sat, 7 Oct 2023 16:46:02 +0530 Subject: [PATCH 2/7] Added alternative virtual environment activation command for Windows users in README --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c9296ba8..8fde021c 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,8 @@ Make sure you have Python 3.10 or 3.11 installed. (check out [`application/core/settings.py`](application/core/settings.py) if you want to see more config options.) 2. (optional) Create a Python virtual environment: - On Mac OS or Linux + +On Mac OS or Linux ```commandline python -m venv venv . venv/bin/activate From 27d33f015f154c227ce27eeed4a996435127da59 Mon Sep 17 00:00:00 2001 From: KRISH SONI <67964054+krishvsoni@users.noreply.github.com> Date: Sat, 7 Oct 2023 19:43:45 +0530 Subject: [PATCH 3/7] added venv official Python documentation --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 8fde021c..387ad8ae 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,7 @@ Make sure you have Python 3.10 or 3.11 installed. (check out [`application/core/settings.py`](application/core/settings.py) if you want to see more config options.) 2. (optional) Create a Python virtual environment: +You can follow the official Python documentation for virtual environments [here](https://docs.python.org/3/tutorial/venv.html). On Mac OS or Linux ```commandline @@ -135,6 +136,7 @@ On Windows python -m venv venv venv/Scripts/activate ``` + 3. Change to the `application/` subdir and install dependencies for the backend: ```commandline pip install -r application/requirements.txt From a0739a18e8dc87bca72586d465bdd073690afa4b Mon Sep 17 00:00:00 2001 From: KRISH SONI <67964054+krishvsoni@users.noreply.github.com> Date: Sat, 7 Oct 2023 19:53:23 +0530 Subject: [PATCH 4/7] added one line for the venv documentation --- README.md | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/README.md b/README.md index 387ad8ae..3481ab6a 100644 --- a/README.md +++ b/README.md @@ -126,17 +126,6 @@ Make sure you have Python 3.10 or 3.11 installed. 2. (optional) Create a Python virtual environment: You can follow the official Python documentation for virtual environments [here](https://docs.python.org/3/tutorial/venv.html). -On Mac OS or Linux -```commandline -python -m venv venv -. venv/bin/activate -``` -On Windows -```commandline -python -m venv venv -venv/Scripts/activate -``` - 3. Change to the `application/` subdir and install dependencies for the backend: ```commandline pip install -r application/requirements.txt From 6f8394a086aa4c67c4c49e8af7a877e3feda7c18 Mon Sep 17 00:00:00 2001 From: KRISH SONI <67964054+krishvsoni@users.noreply.github.com> Date: Sat, 7 Oct 2023 20:00:17 +0530 Subject: [PATCH 5/7] git commit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3481ab6a..e62f4bd5 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ Make sure you have Python 3.10 or 3.11 installed. (check out [`application/core/settings.py`](application/core/settings.py) if you want to see more config options.) 2. (optional) Create a Python virtual environment: -You can follow the official Python documentation for virtual environments [here](https://docs.python.org/3/tutorial/venv.html). +You can follow the [Python official documentation](https://docs.python.org/3/tutorial/venv.html) for virtual environments . 3. Change to the `application/` subdir and install dependencies for the backend: ```commandline From dd6e018e46a934d88f36627f1c0f16d9d77303fd Mon Sep 17 00:00:00 2001 From: KRISH SONI <67964054+krishvsoni@users.noreply.github.com> Date: Sat, 7 Oct 2023 20:09:48 +0530 Subject: [PATCH 6/7] Update README.md --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e62f4bd5..707ed10f 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,18 @@ Make sure you have Python 3.10 or 3.11 installed. 2. (optional) Create a Python virtual environment: You can follow the [Python official documentation](https://docs.python.org/3/tutorial/venv.html) for virtual environments . -3. Change to the `application/` subdir and install dependencies for the backend: +a) On Mac OS and Linux +```commandline +python -m venv venv +. venv/bin/activate +``` +b) On Windows +```commandline +python -m venv venv + venv/Scripts/activate +``` + +4. Change to the `application/` subdir and install dependencies for the backend: ```commandline pip install -r application/requirements.txt ``` From 47f9be32ced3e9782a4719b18b928ae459a3533e Mon Sep 17 00:00:00 2001 From: KRISH SONI <67964054+krishvsoni@users.noreply.github.com> Date: Sat, 7 Oct 2023 21:40:29 +0530 Subject: [PATCH 7/7] git commit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 707ed10f..172c075b 100644 --- a/README.md +++ b/README.md @@ -137,7 +137,7 @@ python -m venv venv venv/Scripts/activate ``` -4. Change to the `application/` subdir and install dependencies for the backend: +3. Change to the `application/` subdir and install dependencies for the backend: ```commandline pip install -r application/requirements.txt ```