HTTPS SSH

Levit's Django CookieCutter template for Django + Ember apps

Before getting started

This cookie cutter provides a Django project built according to the project app architecture.

In short, with the project app architecture, the almost empty directory named after your project becomes an app like any other app in your project. This has numerous advantages, the most noticeable of them being that you don't need to create a core or base app but can use your project app instead.

If you haven't seen Anatomy of a Django Project by Mark Lavin, I would emcourage you to do so to get a better grasp of what the project app architecture is about.

CookieCutter

For more info on CookieCutter, please visit their documentation

Requirements

If you are not familiar with how you should install any of those or if you are running windows , please visit our environment alternatives and Ubuntu TL;DR page for more info

  • Latest Python & virtualenv - on Debian/Ubuntu, make sure to install the system python-virtualenv as well
  • Latest CookieCutter - (sudo pip install -U cookiecutter to upgrade)
  • Latest NodeJS & npm
  • Latest ember-cli (if you already have ember-cli installed, see release notes for upgrade instructions)
  • wget
  • unzip

Usage

To use, simply run cookiecutter https://bitbucket.org/levit_scs/cc_django_ember_app.git

Included in this CoookieCutter

Notes

  1. Make sure your system allows you to run scripts from /tmp (this isn't the case for all default Ubuntu installations)

  2. For several reasons, This template cannot be used natively on windows. If you are running windows, please see the environment alternatives page.

  3. This template comes with a base test class to test most ModelViewSets, look at the base.py file in the tests folder for more info

  4. This template comes with pre-configured session-based authentication.

Deployment

Once the cookiecutter is installed, you'll find sample configuration files for Nginx and uWSGI in conf_samples/nginx_uwsgi.


This project is licensed under the MIT License

Before contributing, commenting or interacting with this project in any form, please, make sure you read and understand our Code of Conduct