A Django boilerplate powered by Cookiecutter
- For Django 3.1
- Works with Python 3.6
- Python dependency management via Poetry
- 12-Factor based settings via django-environ
- Optimized development and production settings
- Docker support using docker-compose for development
- Procfile for deploying to Heroku
These features can be enabled during initial project setup.
Let's pretend you want to create a Django project called "redditclone". Rather than using startproject
and then editing the results to include your name, email, and various configuration issues that always get forgotten until the worst possible moment, get cookiecutter to do all the work.
First, get Cookiecutter. Trust me, it's awesome:
$ pip install "cookiecutter>=1.7.0"
Now run it against this repo:
$ cookiecutter https://github.com/rmaceissoft/cookiecutter-django-ya
You'll be prompted for some values. Provide them, then a Django project will be created for you.