Hacker News new | ask | show | jobs
by instb3at 1463 days ago
I don't know why no one mentioned this.

https://cookiecutter-django.readthedocs.io

I use a modified version of this for all my projects. This one comes with all the goodies

1 comments

Yup, a custom cookiecutter template saves ton of time.

I created this one to create a production ready Django project in few minutes: https://github.com/Mittal-Analytics/django-cookiecutter

  Things this does:
  - README.md: setup readme with development setup
  - Django split settings: split settings for local, testing and production
  - Split requirements: split requirements.txt for local and production
  - Pre-commit hooks: setup pre-commit hooks for black and pyflakes
  - django-envoiron: database config and secrets in environment
  - editorconfig: sensible tab/space defaults for html, js and python files
  - remote-setup: setup hosting on uberspace
  - git push deployment: `git push live` makes the changes live
  - github actions for tests: run tests automatically on Github