Push your django powered site to Amazon S3.
WORK IN PROGRESS // NOT PRODUCTION READY.
Live Site: http://staticgen-demo.herokuapp.com
Source code for demo: http://github.com/mishbahr/staticgen-demo
Install django-staticgen from PyPi:
pip install django-staticgen
Add staticgen to INSTALLED_APPS:
INSTALLED_APPS = ( ... 'staticgen', ... )
python manage.py migrate
To publish your site on Amazon S3, you’ll need to setup an AWS S3 bucket to host the website. Add the following details to your projects settings.py module:
AWS_ACCESS_KEY_ID = 'AKIAIOSFODNN7EXAMPLE' AWS_SECRET_ACCESS_KEY = 'wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY' AWS_STORAGE_BUCKET_NAME = 'staticgen-bucket'
Finally, publishing your site to S3 is as simple as:
python manage.py staticgen_publish
This project requires celery>=3.1 to be properly installed and configured.
For more information on using Celery with Django.
TODO: Figure out how to actually get changelog content.
Changelog content for this version goes here.