mirror of https://github.com/apache/kafka.git
MINOR: Add virtual env to Kafka system test README.md
Author: Liquan Pei <liquanpei@gmail.com> Reviewers: Gwen Shapira Closes #1346 from Ishiihara/add-venv
This commit is contained in:
parent
0e1c012fb5
commit
8c8b54ee48
|
@ -14,9 +14,11 @@ https://cwiki.apache.org/confluence/display/KAFKA/tutorial+-+set+up+and+run+Kafk
|
||||||
|
|
||||||
* Install Virtual Box from [https://www.virtualbox.org/](https://www.virtualbox.org/) (run `$ vboxmanage --version` to check if it's installed).
|
* Install Virtual Box from [https://www.virtualbox.org/](https://www.virtualbox.org/) (run `$ vboxmanage --version` to check if it's installed).
|
||||||
* Install Vagrant >= 1.6.4 from [http://www.vagrantup.com/](http://www.vagrantup.com/) (run `vagrant --version` to check if it's installed).
|
* Install Vagrant >= 1.6.4 from [http://www.vagrantup.com/](http://www.vagrantup.com/) (run `vagrant --version` to check if it's installed).
|
||||||
* Install system test dependiences, including ducktape, a command-line tool and library for testing distributed systems.
|
* Install system test dependencies, including ducktape, a command-line tool and library for testing distributed systems. We recommend to use virtual env for system test development
|
||||||
|
|
||||||
$ cd kafka/tests
|
$ cd kafka/tests
|
||||||
|
$ virtualenv venv
|
||||||
|
$ . ./venv/bin/activate
|
||||||
$ python setup.py develop
|
$ python setup.py develop
|
||||||
$ cd .. # back to base kafka directory
|
$ cd .. # back to base kafka directory
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue