Hacker News new | ask | show | jobs
by pratyushmittal 1462 days ago
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