Skip to content

Commit 2c407c1

Browse files
committed
Improvement of the DOCS SM
1 parent 44831d0 commit 2c407c1

File tree

1 file changed

+34
-3
lines changed

1 file changed

+34
-3
lines changed

sanic-mongo/README.md

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,40 @@ alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --pr
3434

3535
Now head to the folder of the application and run
3636

37-
```
38-
pip3 install -r requirements.txt
39-
```
37+
1. Navigate your project directory:
38+
39+
```bash
40+
cd sample-python/sanic-mongo
41+
```
42+
43+
2. Create a Virtual Environment:
44+
45+
```bash
46+
python -m venv venv
47+
```
48+
3. Activating the Virtual Environment
49+
50+
On Windows:
51+
52+
```bash
53+
venv\Scripts\activate
54+
```
55+
56+
On macOS and Linux:
57+
58+
```bash
59+
source venv/bin/activate
60+
```
61+
4. Install the required Python packages:
62+
63+
```bash
64+
pip install -r requirements.txt
65+
```
66+
5. To exit your Virtual Environment:
67+
68+
```bash
69+
deactivate
70+
```
4071

4172
### Lights, Camera, Record! 🎥
4273

0 commit comments

Comments
 (0)