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