mirror of https://github.com/zulip/zulip.git
writing-bots: Recommend using Python 3 to run tools/provision.
This commit is contained in:
parent
0ada5fa9d8
commit
7e379bbb76
|
@ -30,16 +30,18 @@ On this page you'll find:
|
|||
|
||||
2. `cd python-zulip-api` - navigate into your cloned repository.
|
||||
|
||||
3. `./tools/provision` - install all requirements in a Python virtualenv.
|
||||
3. `python3 ./tools/provision` - install all requirements in a Python virtualenv.
|
||||
|
||||
4. Run the `source <activation/path>` command printed in the previous
|
||||
step to activate the virtualenv.
|
||||
4. The output of `provision` will end with a command of the form `source .../activate`;
|
||||
run that command to enter the new virtualenv.
|
||||
|
||||
5. *Finished*. You should now see the name of your venv preceding your prompt, e.g. `(ZULIP-~1)`.
|
||||
5. *Finished*. You should now see the name of your venv preceding your prompt,
|
||||
e.g. `(zulip-api-py3-venv)`.
|
||||
|
||||
*Hint: `./tools/provision` installs `zulip`, `zulip_bots`, and
|
||||
`zulip_botserver` in developer mode. This enables you to make changes
|
||||
to the code after the packages are installed.*
|
||||
*Hint: `provision` installs the `zulip`, `zulip_bots`, and
|
||||
`zulip_botserver` packages in developer mode. This enables you to
|
||||
make modify these packages and then run your modified code without
|
||||
having to first re-install the packages or re-provision.*
|
||||
|
||||
## Writing a bot
|
||||
|
||||
|
|
Loading…
Reference in New Issue