@@ -75,12 +75,39 @@ If you do not already have one, create a free account on the `GitLab sign-up pag
75
75
For local development, the following prerequisites are needed:
76
76
77
77
* `git <https://git-scm.com/book/en/v2/Getting-Started-Installing-Git >`__
78
- * `Python 3.6 + <https://realpython.com/installing-python/ >`__
78
+ * `Python 3.7 + <https://realpython.com/installing-python/ >`__
79
79
* `Ability to create python venv <https://realpython.com/python-virtual-environments-a-primer/ >`__
80
80
* `vale <https://docs.errata.ai/vale/install >`__
81
81
* `vendir <https://carvel.dev/#install >`__
82
82
83
83
84
+ Linux/macOS users
85
+ -----------------
86
+ We recommend installing `Homebrew <https://brew.sh/ >`__, as it allows easy installation of
87
+ `vale <https://docs.errata.ai/vale/install >`__ and `vendir <https://carvel.dev/#install >`__.
88
+
89
+ To install Homebrew:
90
+
91
+ .. code-block :: bash
92
+
93
+ /bin/bash -c " $( curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh) "
94
+
95
+
96
+ You can then proceed with installing prerequisites:
97
+
98
+ .. code-block :: bash
99
+
100
+ # Update Homebrew
101
+ brew update
102
+
103
+ # vale
104
+ brew install vale
105
+
106
+ # vendir
107
+ brew tap vmware-tanzu/carvel
108
+ brew install vendir
109
+
110
+
84
111
Windows users
85
112
-------------
86
113
For the best experience, when
10000
contributing from a Windows OS to projects using
@@ -125,6 +152,18 @@ From the ``git`` package page on Chocolatey:
125
152
* Git GUI
126
153
* Shell Integration
127
154
155
+ If you're using WSL, proceed with installing requirements from `Linux/macOS users `_ above.
156
+
157
+ Otherwise, you can then proceed with installing prerequisites:
158
+
159
+ .. code-block :: bash
160
+
161
+ # vale
162
+ choco install vale
163
+
164
+ # vendir
165
+ choco install vendir
166
+
128
167
129
168
Fork, clone, and branch the repo
130
169
================================
@@ -196,7 +235,7 @@ From within your local copy of the forked repo:
196
235
197
236
# Setup venv
198
237
python3 -m venv .venv
199
- # If Python 3.6 + is in path as 'python', use the following instead:
238
+ # If Python 3.7 + is in path as 'python', use the following instead:
200
239
# python -m venv .venv
201
240
202
241
# Activate venv
@@ -212,6 +251,10 @@ From within your local copy of the forked repo:
212
251
# Setup pre-commit
213
252
pre-commit install
214
253
254
+ # If you want to use Vale's in-editor style checking immediately
255
+ # (Will be pulled down automatically at first commit)
256
+ pre-commit run vendir
257
+
215
258
216
259
All required files should now be in place.
217
260
0 commit comments