Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 1.14 KB

README.md

File metadata and controls

36 lines (20 loc) · 1.14 KB

cookiecutter-django

A cookiecutter template for Django with Fabric, Bootstrap 3 etc.

  • Django >= 1.9
  • Twitter Bootstrap 3
  • MariaDB/PostgreSQL

A reasoning behind why this is good layout, please read this article from RevSys http://bit.ly/1u299Uf

Usage

For installation and usage, follow these steps ::

$ pip install cookiecutter

$ cookiecutter https://github.com/uhuramedia/cookiecutter-django.git

$ cd projectname/ && virtualenv env && source env/bin/activate

$ pip install -r requirements/local.txt

$ python manage.py runserver

Requirements Status

Notes

As rule of thumb, use MySQL/MariaDB for smaller projects. Since using and setting up MariaDB is easy, this cookiecutter is configured to use it by default. Use PostgreSQL for medium/big size projects as there is high changes we might need Postgres specific features like JSON, HStore etc. and obvious realibility.