You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+13-5
Original file line number
Diff line number
Diff line change
@@ -206,7 +206,7 @@ cd webcompat.com
206
206
### Detailed setup
207
207
#### Installing pip
208
208
209
-
We use `pip` to install other Python packages. You may need to install `pip` if you haven't do so for another project or Python development.
209
+
We use `pip` to install other Python packages. You may need to install `pip` if you haven't do so for another project or Python development.
210
210
211
211
To determine if you need to, type the following command into the terminal:
212
212
@@ -279,6 +279,14 @@ You can now edit `config.py` and
279
279
280
280

281
281
282
+
**Note**: If you see the following error,
283
+
284
+
```
285
+
RuntimeError: no destination for set uploads
286
+
```
287
+
288
+
That means your `config.py` is out of sync with `config.py.example`. You can copy over the `Image uploading settings` from config.py.example, as well as the `LOCALHOST = not PRODUCTION and not DEVELOPMENT` line.
289
+
282
290
### Starting The Server
283
291
284
292
``` bash
@@ -374,19 +382,19 @@ Our Python unit tests are vanilla flavored [`unittest`](https://docs.python.org/
374
382
375
383
Unit tests are preferred for features or functionality that are independent of the browser front-end, i.e., API responses, application routes, etc.
376
384
377
-
Important documentation links:
385
+
Important documentation links:
378
386
* [Writing nose tests](https://nose.readthedocs.org/en/latest/writing_tests.html)
Functional tests are written in JavaScript, using [Intern](http://theintern.io/). There's a nice [guide on the Intern wiki](https://github.com/theintern/intern/wiki/Writing-Tests-with-Intern#functional-testing) that should explain enough to get you started.
392
+
Functional tests are written in JavaScript, using [Intern](http://theintern.io/). There's a nice [guide on the Intern wiki](https://github.com/theintern/intern/wiki/Writing-Tests-with-Intern#functional-testing) that should explain enough to get you started.
385
393
386
394
Important documentation links:
387
395
* [Leadfoot](https://theintern.github.io/leadfoot/): the library that drives the browser (via Selenium).
388
-
* [ChaiJS](http://chaijs.com/api/assert/): the library used for assertions.
0 commit comments