Skip to content

elbenfreund/cookiecutter-django-project

 
 

Repository files navigation

cookiecutter-django-project

Build Status Requirements Status 'Stories in Ready'

A fully tested Cookiecutter template we use for Django projects at transcode.

Batteries included

Configuration

Development Tools

Lint Tools

Testing

Creating a new Project

First you have to install Cookiecutter:

$ pip install cookiecutter

After that change to the directory where you want to create a your new Django project in. Then set up the project using this cookiecutter template like so:

$ cookiecutter gh:transcode-de/cookiecutter-django-project

You have to answer a few questions to configure the project. The defaults are good for transcode projects - surely you want to override them for your projects.

Next Steps

Change into your newly created project directory and execute the following commands to get started.

Install the packages for development:

$ make develop

Then create the new PostgreSQL user and database:

$ make create-db

The next step is to create the Django app(s) you want for the project. Just run the startapp task to create new Django app(s):

$ make startapp

Now create the database tables:

$ make migrate

And start the development webserver:

$ make runserver

To see the other targets available in the Makefile simply run:

$ make

License

This project is licensed under the New BSD License. See LICENSE for the full license.

About

A Cookiecutter template we use for Django projects at transcode.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 44.6%
  • Makefile 22.2%
  • HTML 21.1%
  • Batchfile 11.5%
  • CSS 0.3%
  • Shell 0.3%