contributing.md
This file
Path
docs/contributing.md
44 lines · 1.0 KiB · Markdown
Last changed by
Create a Contributing page in the documentation (#190)Humberto Rochabefore adoption079ab33
History of this fileTake it
123456789101112131415161718192021222324252627282930313233343536373839404142434445# Contributing
You are welcome to contribute with **HTTPX**, read this guide carefully tounderstand how to setup your environment.
## Development
To start developing **HTTPX** create a **fork** of the[httpx repository](https://github.com/encode/httpx) on GitHub.
Then clone your fork with the following command replacing `YOUR-USERNAME` withyour GitHub username:
```shell$ git clone https://github.com/YOUR-USERNAME/httpx```
## Testing
We use [nox](https://nox.thea.codes/en/stable/) as testing tool, so beforetesting make sure you have it installed at your system.
You can install nox with:
```shell$ python3 -m pip install --user nox```
Or if you prefer to keep it into an isolated environment you can install itusing [pipx](https://github.com/pipxproject/pipx):
```shell$ pipx install nox```
Now with nox installed you can run the tests by running:
```shell$ nox```
!!! warning The test suite spawns a testing server at the port **8000**. Make sure this isn't being used, so the tests can run properly.