This is a project template for Django 1.7+ (tested with 1.7 and 1.8).
You can use this bash script for one-command initialization of the project
curl -L https://gist.githubusercontent.com/Alexx-G/4dafed44959756f45469/raw/43e36c3f3a88b4aa2586b05ef73228de2736f076/django-startproject.sh | bash
or follow next steps:
- Create project's folder;
- Install and activate virtualenv;
- Install django;
- Create project;
- Install requirements.
$ mkdir your_project; cd your_project $ virtualenv venv; source venv/bin/activate $ pip install django $ django-admin startproject --template=https://github.com/Alexx-G/django-project-template/archive/master.zip your_project $ pip install -r your_project/requirements/development.txt
- This template provides some additional features:
- Configured logging and helper to obtain logger,
- Deployment-friendly structure of the project,
- Transparent and organized structure of the project.