This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Push your django powered site to Amazon S3.

WORK IN PROGRESS // NOT PRODUCTION READY.

Quickstart

  1. Install django-staticgen from PyPi:

    pip install django-staticgen
    
  2. Add staticgen to INSTALLED_APPS:

    INSTALLED_APPS = (
        ...
        'staticgen',
        ...
    )
    
  3. Migrate database:

    python manage.py migrate
    
  4. 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'
    
  5. Finally, publishing your site to S3 is as simple as:

    python manage.py staticgen_publish
    

Celery

This project requires celery>=3.1 to be properly installed and configured.

For more information on using Celery with Django.

See: http://docs.celeryproject.org/en/latest/django/first-steps-with-django.html

Todo

  • Cache Control
  • Gzip Compression
  • CloudFront distribution/invalidation
Release History

Release History

0.1.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting