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