cookiecutter https://github.com/pydanny/cookiecutter-django.git

Cloning into 'cookiecutter-django'...
remote: Counting objects: 550, done.
remote: Compressing objects: 100% (310/310), done.
remote: Total 550 (delta 283), reused 479 (delta 222)
Receiving objects: 100% (550/550), 127.66 KiB | 58 KiB/s, done.
Resolving deltas: 100% (283/283), done.

project_name [project_name]: Reddit Clone
repo_name [Reddit_Clone]: reddit
author_name [Your Name]: Daniel Greenfeld
email [Your email]: pydanny@gmail.com
description [A short description of the project.]: A reddit clone.
domain_name [example.com]: myreddit.com
version [0.1.0]: 0.0.1
timezone [UTC]:
now [2015/01/13]: 2015/08/30
year [2015]:
use_whitenoise [y]: y
use_celery [n]: y
use_maildump [n]: y
use_sentry [n]: y
windows [n]: n

How to start

  • For Django 1.8
  • Renders Django projects with 100% test coverage
  • Twitter Bootstrap v4.0.0 - alpha
  • End-to-end via Hitch
  • AngularJS
  • 12-Factor based settings via django-environ
  • Optimized development and production settings
  • Registration via django-allauth
  • Grunt build for compass and livereload
  • Basic e-mail configurations for sending emails via Mailgun
  • Media storage using Amazon S3
  • Serve static files from Amazon S3 or Whitenoise (optional)
  • Pre configured Celery (optional)
  • Integration with Maildump for local email testing (optional)
  • Integration with Sentry for error logging (optional)
  • Docker support using docker-compose for dev and prod
  • Procfile for deploying to Heroku

Support for Docker

Production

postgres

django

redis

celeryworker

celerybeat

docker-compose scale django=4
docker-compose scale celeryworker=2

celeryworker

django

docker-compose up
 

Support for Docker

Development

Production

postgres

django

redis

celeryworker

celerybeat

postgres

django

Support for Docker

Production

postgres

django

redis

celeryworker

celerybeat

Debug

postgres

django

Development

postgres

django

sshd

*

* PR: https://github.com/pydanny/cookiecutter-django/pull/306

Support for PyCharm*

http://bit.ly/cookiecutter-django

URL to slides:

Who am I

Krzysztof "noisy" Szumny,
Python Developer @ STXnext

- https://github.com/noisy/
- http://wykop.pl/ludzie/noisy/

cookiecutter-django

By noisy

cookiecutter-django

  • 2,443