/django-package-template

Cookiecutter template for Django packages

Primary LanguagePythonApache License 2.0Apache-2.0

Django Package Template

Cookiecutter template for Django packages

Usage

Installation

  1. Install Cookiecutter

    pip install -U cookiecutter
  2. Install Hub the GitHub CLI tool.

  3. To create a public package you will need to install the Travis Client.

Creating the package

In the terminal, navigate to where you want to create your repository and call:

cookiecutter gh:Thermondo/django-package-template

You will be prompted, simply follow the given instructions.

The repository will be created for you automatically and the initial boilerplate code will be committed and pushed.

For more information on how to use Cookiecutter, please visit their documentation: https://cookiecutter.readthedocs.io/

Setting up the repository

  1. Go to the repository settings and disable Wikis, Projects and merge commits.

  2. Go to the repository contributor settings. In the team section add Developers with write access.