mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-29 01:42:37 +02:00
Update installation.md
Updated installation.md to include instructions on how to setup a virtual environment in Windows
This commit is contained in:
parent
c9a709953f
commit
b5917d084d
1 changed files with 24 additions and 1 deletions
|
@ -103,7 +103,7 @@ repository](https://github.com/spiral-project/ihatemoney/tree/master/ihatemoney/
|
||||||
:::
|
:::
|
||||||
|
|
||||||
(virtualenv-preparation)=
|
(virtualenv-preparation)=
|
||||||
### Prepare virtual environment (recommended)
|
### Prepare virtual environment on Linux / MacOS (recommended)
|
||||||
|
|
||||||
Choose an installation path, here the current user's home directory
|
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.
|
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)=
|
(pip)=
|
||||||
### Install
|
### Install
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue