Skip to content

Commit aabba3d

Browse files
committed
update README with setup
1 parent d4f37e9 commit aabba3d

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,33 @@
22

33
This segment is intended to be used to teach how to use the Python debugger along with Pytest.
44

5+
## Setup
6+
7+
1. Create a virtual environment
8+
9+
```bash
10+
$ python3 -m venv venv
11+
```
12+
13+
2. Activate the environment
14+
15+
```bash
16+
$ source venv/bin/activate
17+
```
18+
19+
3. Install the dependencies
20+
21+
22+
```bash
23+
pip install -r requirements.txt
24+
```
25+
26+
You can now run the tests with the command
27+
28+
```bash
29+
$ pytest
30+
```
31+
532
## FizzBuzz Function
633

734
`fizzbuzz` is a function which returns the string representation of numbers from 1 to n.

0 commit comments

Comments
 (0)