make dev installation instructions copy-pasteable

This commit is contained in:
Maximilian Hils 2015-08-19 15:11:32 +02:00
parent 7730d2e0c0
commit b8db81969d

View File

@ -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