Vagrant Django Template

screenshot of Vagrant Django Template

Skeleton project for a Django app running under Vagrant

Overview:

The vagrant-django-template is a template for new Django 1.9 projects developed under Vagrant. It provides various features and configurations to streamline the project setup process.

Features:

  • Vagrantfile: Automatically builds an Ubuntu Trusty based Vagrant virtual environment with a pre-configured virtualenv.
  • Requirements management: Project dependencies are managed through a requirements.txt file.
  • PostgreSQL database: A PostgreSQL database is created with the same name as the project and pre-configured in the project settings file.
  • Separation of configuration settings: Configuration settings are separated into base.py, dev.py, production.py, and optionally local.py files, following best practices.
  • django-compressor and django-debug-toolbar: Out of the box integration with django-compressor and django-debug-toolbar.
  • Boilerplate base template: Includes a base template with jQuery and other best practices borrowed from html5-boilerplate.

Summary:

The vagrant-django-template is a convenient starting point for creating new Django 1.9 projects under Vagrant. It provides essential features such as virtual environment setup, database configuration, and separation of configuration settings. The template also includes popular Django packages like django-compressor and django-debug-toolbar, as well as a base template with jQuery and other best practices. The installation process is straightforward and documented well in the README file. Overall, this template helps developers set up and configure new Django projects quickly and efficiently.