Django Docker Heroku Template

screenshot of Django Docker Heroku Template
scss

Get a Django app up and running in dev, test, and production with best practices in 10 minutes

Overview

This is a Django template for Docker + Heroku that allows users to quickly set up and run Django projects. It includes several features such as a development environment with Docker Compose, a production environment with Heroku, static file compilation with Parcel, static file serving with Whitenoise, CI with GitHub Actions, VSCode remote container config with linting, Black, refactoring, etc., a custom User model, Gevent workers and DB connection pooling, and Sentry for exception logging.

Features

  • Development environment with Docker Compose
  • Production environment with Heroku
  • Static file compilation with Parcel
  • Static file serving with Whitenoise
  • CI with GitHub Actions
  • VSCode remote container config with linting, Black, refactoring, etc.
  • Custom User model
  • Gevent workers and DB connection pooling
  • Sentry for exception logging

Summary

This Django template provides a streamlined setup process for Django projects, integrating Docker, Heroku, and various other tools and configurations. With features such as development and production environments, static file compilation and serving, continuous integration, and more, developers can quickly get up and running with their Django projects.

scss
SCSS

SCSS is a preprocessor scripting language that extends the capabilities of CSS by adding features such as variables, nesting, and mixins. It allows developers to write more efficient and maintainable CSS code, and helps to streamline the development process by reducing repetition and increasing reusability.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

postcss
Postcss

PostCSS is a popular open-source tool that enables web developers to transform CSS styles with JavaScript plugins. It allows for efficient processing of CSS styles, from applying vendor prefixes to improving browser compatibility, ultimately resulting in cleaner, faster, and more maintainable code.