This is a simple Django 1.11+ project template with my preferred setup.
Fabric deployment is optimized for AlwaysData
- Django 1.11
- Settings ready for Development.
- Docker for development.
- Deployment ready for AlwaysData with Fabric
- Automatic settings for Staging and Production with Fabric
- Automatic secret key
- Debug information with django-debug-toolbar.
- Collection of custom extensions with django-extensions.
- PostgreSQL database support with psycopg2.
- livereload: Application performing a LiveReload with tiny-lr once the development server is ready (https://github.com/Fantomas42/django-livereload).
- Django>=1.11.0,<1.12.0
- django-sekizai>=0.10,<0.11
- django-extensions>=1.8.0,<1.9.0
- django-debug-toolbar==1.8
- psycopg2==2.6
- livereload
2 choices:
- with fabric:
- clone project
- change git remote origin
- fab dev deploy / fab dev update
- with docker:
- clone project
- change git remote origin
- run: docker-compose build
- run: docker-compose up
- clone project
- fab staging deploy / fab staging update
- clone project
- fab prod deploy / fab prod update
- secret key: utils/readme.rst
- fabfile: test