From b5917d084d570d311ff4cc56275d99abcdc3dd89 Mon Sep 17 00:00:00 2001 From: Riley Rabelos <91388662+rabelosr20@users.noreply.github.com> Date: Fri, 3 Nov 2023 11:06:24 -0700 Subject: [PATCH] Update installation.md Updated installation.md to include instructions on how to setup a virtual environment in Windows --- docs/installation.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/docs/installation.md b/docs/installation.md index 8cd88429..e254912a 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -103,7 +103,7 @@ repository](https://github.com/spiral-project/ihatemoney/tree/master/ihatemoney/ ::: (virtualenv-preparation)= -### Prepare virtual environment (recommended) +### Prepare virtual environment on Linux / MacOS (recommended) Choose an installation path, here the current user's home directory (~). @@ -122,6 +122,29 @@ You will have to re-issue that `source` command if you open a new terminal. ::: +### Prepare virtual environment on Windows (recommended) + +Install virtualenv if not already installed: + + pip install virtualenv + +Choose an installation path, here the current user's home directory +(~). + +Create a virtual environment: + + virtualenv ~\ihatemoney + +Activate the virtual environment: + + .\ihatemoney\Scripts\activate + +::: {note} +Your terminal should now say (env) at the beginning of the line. +To leave the virtual environment, type 'deactivate' +::: + + (pip)= ### Install