Development

Please feel free to contribute to this project. The following list describes just the basics to start development.

1. Clone the project

You can clone the current development version from github:

$ git clone https://github.com/jokiefer/django-mptt2

2. Install dependencies

Dependencies in this project are organized by seperated requirement files under the .requirements folder.

To install all dependencies to contribute to this project run the command below:

$ pip install -r requirements.txt

Note

Run the above command from the root of the project folder.

3. Running tests

As other django based projects we test it with the default django test command.

$ python manage.py test

Note

Run the above command from the root of the project folder.

4. Build docs

The documentation are build with sphinx.

To build the docs local change to the docs subfolder and run the command below.

$ make html

The documentation is present under the subfolder build/index.html