update readme with simplified pipenv commands

pull/5334/head
Nils Dijk 2021-10-27 14:56:57 +02:00
parent b2f0c3ae0f
commit cb000eb749
No known key found for this signature in database
GPG Key ID: CA1177EF9434F241
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ Automated Failure Testing works by inserting a network proxy (mitmproxy) between
## Getting Started
First off, to use this you'll need mitmproxy, I recommend version `3.0.4`, and I also recommend running it with `python 3.6`. This script integrates pretty deeply with mitmproxy so other versions might fail to work.
First off, to use this you'll need mitmproxy, I recommend version `7.0.4`, and I also recommend running it with `python 3.9`. This script integrates pretty deeply with mitmproxy so other versions might fail to work.
I highly recommend using pipenv to install mitmproxy. It lets you easily manage isolated environments (instead of installing python packages globally). If you've heard of virtualenv, pipenv is that but much easier to use.
@ -25,7 +25,7 @@ Once you've installed it:
```bash
$ cd src/test/regress
$ pipenv --python 3.6 --python=`which python3.6`
$ pipenv --rm # removes any previous available pipenv
$ pipenv install # there's already a Pipfile.lock in src/test/regress with packages
$ pipenv shell # this enters the virtual environment, putting mitmproxy onto $PATH
```