Skip to content

rockymeza/cookiecutter-djangoapp

 
 

Repository files navigation

cookiecutter-djangoapp

An opinionated cookiecutter template for a Django 3rd party app. This is based on cookiecutter-pypackage_ and cookiecutter-djangopackage, but also draws on experience collected during the creation of many Django apps at Fusionbox_

It inherits many features from cookiecutter-pypackage_, such as:

  • Tox testing: Setup to easily test for multiple versions of Python and Django
  • Travis-CI: Ready for Travis Continuous Integration testing
  • Sphinx docs: Documentation ready for generation with, for example, ReadTheDocs

But also differs a bit:

Usage

Generate a Python package project:

cookiecutter https://github.com/rockymeza/cookiecutter-djangoapp.git

Then:

  • Create a repo and put it there.
  • Add the repo to your Travis CI account.
  • Run the script travis_pypi_setup.py to encrypt your PyPI password in Travis config and activate automated deployment on PyPI when you push a new tag to master branch.
  • Add the repo to your ReadTheDocs account + turn on the ReadTheDocs service hook.
  • Release your package the standard Python way. Here's a release checklist: https://gist.github.com/audreyr/5990987
  • (Optional) If you feel like pinning the requirements for your package, you can add a requirements.txt that specifies packages and version numbers.

About

Cookiecutter template for a Python package. See https://github.com/audreyr/cookiecutter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 50.2%
  • Makefile 27.7%
  • Batchfile 20.5%
  • Shell 1.6%