Contribute

Contributions are welcome!

Unit tests

To run the tests, you just need to run tox. Everything must be green before patches get merged.

Style

We use black to format our code. Please apply black on your patches before submiting them.

Development environment

python3 setup.py compile_catalog
cd demo
./run.sh # or `docker-compose up` to run it with docker

Then you have access to:

The canaille server has some default users:

  • A regular user which login and password are user;

  • A moderator user which login and password are moderator;

  • An admin user which admin and password are admin.

Documentation

The documentation is generated when the tests run:

tox

The generated documentation is in ./build/sphinx/html/ directory.