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