Skip to content

Commit 48b0b75

Browse files
authored
Update README.md
1 parent 526990e commit 48b0b75

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

README.md

+12-9
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,20 @@
1212

1313
Source code for the accompanying tutorial found here: https://hackersandslackers.com/redis-py-python/
1414

15-
## Getting Started
15+
## Installation
1616

17-
Installation is recommended with Poetry:
17+
**Installation via `requirements.txt`**:
1818

1919
```shell
2020
$ git clone https://github.com/hackersandslackers/redis-python-tutorial.git
2121
$ cd redis-python-tutorial
22-
$ poetry shell
23-
$ poetry install
24-
$ poetry run
22+
$ python3 -m venv myenv
23+
$ source myenv/bin/activate
24+
$ pip3 install -r requirements.txt
25+
$ python3 main.py
2526
```
2627

27-
...or Pipenv:
28+
**Installation via [Pipenv](https://pipenv-fork.readthedocs.io/en/latest/)**:
2829

2930
```shell
3031
$ git clone https://github.com/hackersandslackers/redis-python-tutorial.git
@@ -34,14 +35,16 @@ $ pipenv update
3435
$ python3 main.py
3536
```
3637

37-
Alternatively, try installing via `setup.py`:
38+
**Installation via [Poetry](https://python-poetry.org/)**:
3839

3940
```shell
4041
$ git clone https://github.com/hackersandslackers/redis-python-tutorial.git
4142
$ cd redis-python-tutorial
42-
$ python3 setup.py install
43-
$ python3 main.py
43+
$ poetry shell
44+
$ poetry update
45+
$ poetry run
4446
```
47+
4548
-----
4649

4750
**Hackers and Slackers** tutorials are free of charge. If you found this tutorial helpful, a [small donation](https://www.buymeacoffee.com/hackersslackers) would be greatly appreciated to keep us in business. All proceeds go towards coffee, and all coffee goes towards more content.

0 commit comments

Comments
 (0)