@@ -22,17 +22,17 @@ This is part of the Zulip open source project; see the
22
22
[ contributing guide] ( https://zulip.readthedocs.io/en/latest/overview/contributing.html )
23
23
and [ commit guidelines] ( https://zulip.readthedocs.io/en/latest/contributing/version-control.html ) .
24
24
25
- 1 . Fork and clone the Git repo:
26
- ` git clone https://github.com/<your_username>/python-zulip-api.git `
27
-
28
- 2 . Make sure you have [ pip] ( https://pip.pypa.io/en/stable/installing/ )
29
- and [ virtualenv] ( https://virtualenv.pypa.io/en/stable/installation.html )
30
- installed.
25
+ 1 . Fork and clone the Git repo, and set upstream to zulip/python-zulip-api:
26
+ ```
27
+ git clone https://github.com/<your_username>/python-zulip-api.git
28
+ cd python-zulip-api
29
+ git remote add upstream https://github.com/zulip/python-zulip-api.git
30
+ git fetch upstream
31
+ ```
31
32
32
- 3 . ` cd ` into the repository cloned earlier:
33
- ` cd python-zulip-api `
33
+ 2 . Make sure you have [ pip] ( https://pip.pypa.io/en/stable/installing/ ) .
34
34
35
- 4 . Run:
35
+ 3 . Run:
36
36
```
37
37
python3 ./tools/provision
38
38
```
@@ -43,14 +43,14 @@ and [commit guidelines](https://zulip.readthedocs.io/en/latest/contributing/vers
43
43
python3 ./tools/provision -p <path_to_your_python_version>
44
44
```
45
45
46
- 5 . If that succeeds, it will end with printing the following command:
46
+ 4 . If that succeeds, it will end with printing the following command:
47
47
```
48
48
source /.../python-zulip-api/.../activate
49
49
```
50
50
You can run this command to enter the virtual environment.
51
51
You'll want to run this in each new shell before running commands from ` python-zulip-api ` .
52
52
53
- 6 . Once you've entered the virtualenv, you should see something like this on the terminal:
53
+ 5 . Once you've entered the virtualenv, you should see something like this on the terminal:
54
54
```
55
55
(zulip-api-py3-venv) user@pc ~/python-zulip-api $
56
56
```
0 commit comments