Giter VIP home page Giter VIP logo

django-boilerplate's Introduction

Eddie Hedges' fork of Martin Ogdens Django Boilerplate

A barebones default layout for organised Django development. Inspired a little by Ruby on Rails and 'Django Project Conventions by Zachary Voase (link below).

Usage

This assumes you have pip and django installed (if not, try $ sudo easy_install pip)

$ django-admin.py startproject --template http://github.com/martinogden/django-boilerplate/zipball/master project_name
$ cd project_name
$ pip install -r REQUIREMENTS
$ python manage.py syncdb --migrate

Settings

There is a separate file for each environment inside config/environments (development, staging, production). These import the django default settings from config.settings and are intended to be used directly, e.g. python manage.py validate --settings=config.environments.production or export PYTHONPATH=config.environments.development.

Any settings added in environments/local.py will be picked up and override any previously defined settings. This is useful for sensitive information such as database credentials or the SECRET_KEY etc. By default this file will NOT be checked into git.

Preinstalled Apps

Credits

Much of the layout is taken from a great post by Zachary Voase.

Contributors

  • Scotty Vernon: django-compressor integration, included modernizr, boilerplate markup in base.html, and organised javascripts folder.

django-boilerplate's People

Contributors

edhedges avatar martinogden avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.