Skip to content

A django template built for heroku, mezzanine and AWS hosted media

Notifications You must be signed in to change notification settings

petedermott/django-heroku-mezzanine-bare-bones

Repository files navigation

Django Heroku Mezzanine Bare Bones

Django and Heroku generally play nicely but sometimes Mezzanine has some quirks that cause issues, this template aims to rectify that.

Requirements

  • A Heroku account
  • An AWS S3 bucket for hosting media content

Features

  • Django 1.11.28
  • Mezzanine 4.2.3 & Cartridge 0.13.0

Setup

  1. Create local postgres database (default user / pass = postgres)
  2. Create your Amazon S3 Bucket with the name of your project
  3. mkvirtualenv $project_name
  4. pip install django==1.11.28
  5. django-admin.py startproject --template=https://github.com/petedermott/django-heroku-mezzanine-bare-bones/zipball/master --name=Procfile --extension=py,md,env $project_name
  6. cd $project_name
  7. Update $project_name/settings.py with your AWS / Heroku details (most of which are at the top of the file)
  8. Add your SECRET_KEY
  9. Set a DEBUG environment variable to True
  10. pip install -r requirements.txt
  11. ./manage.py migrate
  12. runserver
  13. ./manage.py createsuperuser

Contributing

Comments, feedback and pull requests are all welcome

About

A django template built for heroku, mezzanine and AWS hosted media

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages