ContributingΒΆ
Install development requirements
pip install -r requirements/dev-requirements.txt
Install pre-commit hooks
pre-commit install
To run localserver
python security_headers.py runserver
To get http-observatory scan report, start a separate secure localhost (at 127.0.0.1:8000) to enable https and then navigate to the /scan/<name of url> from runserver
python security_headers.py runsslserver
To run test suite
pytest
To test build
tox
To make docs locally
cd docs make html