alteredEgo129 / wildfish-django-starter

Django cookiecutter starter project template.

Home Page:http://wildfish.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wildfish Django Starter =====================

Build Status

A Django project cookiecutter template to kick start development for new projects. Includes apps and settings we use in the majority of projects, along with an integrated version of our other cookiecutter-django-crud template which will also generate a model, CRUD views and tests.

Features

  • 2 tier layout
  • Python essentials: ipython, ipdb, flake8
  • Requirements file managed using pip-tools.
  • Settings using django-configurations
  • Testing bits: django-webtest, model-bakery
  • Redis cache (via django-redis-cache)
  • Sentry client, django-debug-toolbar
  • django-model-utils
  • Django CRUD views and templates using django-vanilla-views.
  • A Django ModelForm using bootstrap3.
  • Tests for all of the views using WebTest.
  • Model Bakery generated models for the tests.

Quickstart

Ensure you have cookiecutter installed:

pip install cookiecutter

Then use cookiecutter to generate your project from this template with:

cookiecutter git@github.com:wildfish/wildfish-django-starter.git

Then from your generated project:

npm install

# TODO to be replaces/updated in docs ticket.
pip install -r requirements.in

python manage.py migrate

Requirements using pip-compile ----------

The generated project uses a requirements.in file to make it straightforward to keep pinned requirements up to date using the pip-compile command from pip-tools.

To generate a requirements.txt from your project simply use the pip-compile command.

Read more here, https://github.com/nvie/pip-tools#example-usage-for-pip-compile

About

Django cookiecutter starter project template.

http://wildfish.com

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 79.6%Language:HTML 14.0%Language:Shell 4.6%Language:Dockerfile 1.7%