Boilerplate for Django projects
This boilerplate sets a standard Django project along with common components. These components are:
- South: Database migrations
- Fabric: Website deployment
- Celery: Async and distributed task queue
- Nose: Test framework
Frontend libraries are available with bower:
To install them, run bower install
.
Djung uses Grunt to compile and minify css and js. It is configured for use
with livereload which you can enable by running grunt watch
On the server, the project is configured by default to use:
You can quickly create a django project using this boilerplate with django-admin:
django-admin.py startproject --template https://github.com/strycore/djung/zipball/master project_name
Oneliner to create a project and push it to your staging server (assumes you have cloned the repository and changed the domain in fabfile.py)
mkvirtualenv -i django foo; django-admin.py startproject --template djung foo; cd foo; fab staging setup; fab staging deploy