Skip to content
This repository has been archived by the owner on Jan 30, 2019. It is now read-only.

AndyA13/exposure

Repository files navigation

exposure

A website for hosting photos using S3.

Setup

  1. Install Postgres
  2. mkvirtualenv exposure && pip install -r requiremens.txt
  3. Copy exposure/settings_local.py.example to exposure/settings_local.py and customise.
  4. ./manage.py syncdb
  5. ./manage.py migrate
  6. ./manage.py runserver

Configuration

The following environment variables must be set for S3 support.

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_STORAGE_BUCKET_NAME

There is one other environment variable that can be set, SENTRY_DSN to add support for getsentry.com.