Skip to content

Commit c97169a

Browse files
committed
renaming bot-env to venv
1 parent 3e9df13 commit c97169a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/more/virtual-environments.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ Go to your project’s working directory:
1414

1515
```bash
1616
$ cd your-bot-source
17-
$ python3 -m venv bot-env
17+
$ python3 -m venv venv
1818
```
1919
Activate the virtual environment:
2020

2121
```bash
22-
$ source bot-env/bin/activate
22+
$ source venv/bin/activate
2323
```
2424
On Windows you activate it with:
2525

2626
```batch
27-
$ bot-env\Scripts\activate.bat
27+
$ venv\Scripts\activate.bat
2828
```
2929
Use pip like usual:
3030

@@ -47,7 +47,7 @@ pip install -r requirements.txt
4747
```
4848

4949
To keep from committing your virtual environment to git, you can set up a .gitignore file with the following line
50-
(assuming you named your virtual environment bot-env like the above example):
50+
(assuming you named your virtual environment venv like the above example):
5151
```
52-
bot-env/
52+
venv/
5353
```

0 commit comments

Comments
 (0)