mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 03:14:22 +00:00
make dev installation instructions copy-pasteable
This commit is contained in:
parent
7730d2e0c0
commit
b8db81969d
12
README.mkd
12
README.mkd
@ -53,11 +53,11 @@ installation instructions for virtualenv
|
|||||||
following:
|
following:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ git clone https://github.com/mitmproxy/mitmproxy.git
|
git clone https://github.com/mitmproxy/mitmproxy.git
|
||||||
$ git clone https://github.com/mitmproxy/netlib.git
|
git clone https://github.com/mitmproxy/netlib.git
|
||||||
$ git clone https://github.com/mitmproxy/pathod.git
|
git clone https://github.com/mitmproxy/pathod.git
|
||||||
$ cd mitmproxy
|
cd mitmproxy
|
||||||
$ source ./dev
|
source ./dev
|
||||||
```
|
```
|
||||||
|
|
||||||
The *dev* script will create a virtualenv environment in a directory called
|
The *dev* script will create a virtualenv environment in a directory called
|
||||||
@ -70,7 +70,7 @@ To confirm that you're up and running, activate the virtualenv, and run the
|
|||||||
mitmproxy test suite:
|
mitmproxy test suite:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ source ../venv.mitmproxy/bin/activate # ..\venv.mitmproxy\Scripts\activate.bat on Windows
|
$ . ../venv.mitmproxy/bin/activate # ..\venv.mitmproxy\Scripts\activate.bat on Windows
|
||||||
$ nosetests ./test
|
$ nosetests ./test
|
||||||
```
|
```
|
||||||
Note that the main executables for the project - **mitmdump**, **mitmproxy** and
|
Note that the main executables for the project - **mitmdump**, **mitmproxy** and
|
||||||
|
Loading…
Reference in New Issue
Block a user