dantium / django-cookiecutter

Base Django Cookiecutter project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

django-docker-tailwind

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

Based on django-cookiecutter

Includes

  • Docker - Production and Dev configs
  • Tailwind CSS
  • Webpack - Production build, optimise assets and generate favicons
  • API - Django Rest Framework
  • CMS - Wagtail

TODO

  • Add Frontend JS framework options
  • Production webserver config
  • Custom user profile
  • Initial auth setup

Usage

To generate your project get Cookiecutter:

pip install cookiecutter

Run Cookiecutter with this template:

cookiecutter https://github.com/dantium/django-docker-tailwind

Enter your project details at the prompts, once the project has been created enter the directory:

cd project_slug

Run with docker:

docker-compose up

Create a superuser:

docker-compose run django_project_slug ./manage.py createsuperuser

About

Base Django Cookiecutter project

License:MIT License


Languages

Language:Python 60.3%Language:JavaScript 19.4%Language:HTML 8.2%Language:Dockerfile 6.6%Language:Shell 5.3%Language:CSS 0.4%