swiftwind-heroku

Swiftwind for Heroku Deployment


License
MIT
Install
pip install swiftwind-heroku==0.2.0

Documentation

Swiftwind for Heroku Deployment

For more details see the Swiftwind project.

Installation

Environment variables:

# Should be setup automatically for you:
SECRET_KEY='<a random value>'
DATABASE_URL='postgres://user:pasword@host/dbname'

# If you are using HTTPS you may wish to set the following yourself:
HTTPS=1  # Will ensure site is served over HTTPS only
HSTS_SECONDS=100000  # Will enable HSTS, and set the seconds timeout
HSTS_INCLUDE_SUBDOMAINS=1  # Apply HSTS to subdomains

Required Heroku Addons

The following addons will be setup (on the free plan of each):

  • Postgres
  • Redis

Credits

Any credits here

swiftwind-heroku is packaged using seed.