Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 1.78 KB

CONTRIBUTE.md

File metadata and controls

48 lines (30 loc) · 1.78 KB

Contribute to Pytition

Translations

You can help with translations. The best way to do so is via our weblate hosted by Framasoft: https://weblate.framasoft.org/projects/pytition/pytitions/ Contact me by opening an issue or by sending a private e-mail if you want to contribute by translating the project in a language you know and have any issue with weblate (for instance your language is not available). I can help.

Open a Pull Request

Please don't hesitate to open a Pull Request if you have a fix for one of the issues.

Report bugs or give new enhancements/feature ideas

Don't hesitate to open new issues with your reports or remarks.

Install a development environment

Manual install (recommended for production)

See https://pytition.readthedocs.io/en/latest/installation.html#manual-installation-recommended-for-production

With docker-compose

See https://pytition.readthedocs.io/en/latest/installation.html#installation-via-docker-recommended-for-development

With a script (not recommended)

You can use this script to setup a development environment. If you trust it, run, in the directory where you want to clone the project:

curl -sSL "https://raw.githubusercontent.com/pytition/Pytition/master/dev/dev_setup.sh" | sh

This script is only proven to work on a fresh Ubuntu 18.04 install. You can use VirtualBox, Docker, qemu or whatever virtualisation/containerization technology you prefer.

Run tests

It uses coverage to evaluate tests coverage.

coverage run pytition/manage.py test petition
coverage report -m

Add docker-compose exec web before each command to use it with docker.