Cookiecutter template for Django packages
-
Install Cookiecutter
pip install -U cookiecutter
-
Install Hub the GitHub CLI tool.
-
To create a public package you will need to install the Travis Client.
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/
-
Go to the repository settings and disable Wikis, Projects and merge commits.
-
Go to the repository contributor settings. In the team section add
Developers
withwrite
access.