More Premium Hugo Themes Premium Tailwind Themes

Django Docker Tailwind

A Cookiecutter Django project template that uses Tailwind CSS, Wagtail CMS and works with Docker.

Django Docker Tailwind

A Cookiecutter Django project template that uses Tailwind CSS, Wagtail CMS and works with Docker.

Author Avatar Theme by dantium
Github Stars Github Stars: 23
Last Commit Last Commit: Jul 11, 2020 -
First Commit Created: Jan 15, 2024 -
Django Docker Tailwind screenshot

Overview

The django-docker-tailwind is a Django project template that includes Tailwind CSS, Wagtail CMS, and works with Docker. It is based on the django-cookiecutter and comes with production and development configurations, Tailwind CSS, Webpack for production build and asset optimization, Django Rest Framework API, and Wagtail CMS.

Features

  • Docker: includes production and development configuration files for Docker
  • Tailwind CSS: integrates Tailwind CSS for styling the Django project
  • Webpack: uses Webpack for production build, asset optimization, and favicon generation
  • API: incorporates Django Rest Framework for building API endpoints
  • CMS: includes Wagtail CMS for content management

Installation

To install the django-docker-tailwind project template, follow these steps:

  1. Install Cookiecutter:
$ pip install cookiecutter
  1. Run Cookiecutter with the django-docker-tailwind template:
$ cookiecutter https://github.com/<template-url>
  1. Enter the project details at the prompts.

  2. Once the project has been created, navigate to the project directory:

$ cd <project-name>
  1. Run the project with Docker:
$ docker-compose up
  1. Create a superuser:
$ docker-compose exec web python manage.py createsuperuser

Summary

The django-docker-tailwind project template is a convenient way to start a Django project with Tailwind CSS, Wagtail CMS, and Docker. It provides all the necessary configurations and tools for development and production. By following the installation guide, you can quickly set up a project with a customizable frontend, API endpoints, and content management capabilities.