Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

69 lines (57 sloc) 1.824 kb
# This is an example settings_local.py file.
# Copy it and add your local settings here.
import os
import logging
from settings_ignite import *
# Create the these directories off media and set to 755 so the app can access them
USER_AVATAR_PATH = 'img/uploads/avatars/'
TOPIC_IMAGE_PATH = 'img/uploads/topics/'
PROJECT_IMAGE_PATH = 'img/uploads/projects/'
EVENT_IMAGE_PATH = 'img/uploads/events/'
CHALLENGE_IMAGE_PATH = 'img/uploads/challenges/'
# Create a local database and include their details in here
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': '',
'USER': '',
'PASSWORD': '',
'HOST': '',
'PORT': '',
'OPTIONS': {
'init_command': 'SET storage_engine=InnoDB',
'charset' : 'utf8',
'use_unicode' : True,
},
'TEST_CHARSET': 'utf8',
'TEST_COLLATION': 'utf8_general_ci',
},
}
# Fill this out with people who should get alerts of server errors
ADMINS = (
# ('Your Name', 'your_email@domain.com'),
)
MANAGERS = ADMINS
# Make this unique, and don't share it with anybody.
SECRET_KEY = 'cheese'
# Should be False on a production box
DEBUG = TEMPLATE_DEBUG = True
# BrowserID stuff #
## Change this to the URL that you're running the app under - for browserID to auth
SITE_URL = ''
# If you're running dev as http only this should be True.
SESSION_COOKIE_SECURE = False
SESSION_COOKIE_HTTPONLY = False
# Install memcache and remove this to make djangobrowser id
# https://github.com/mozilla/django-session-csrf#differences-from-django
CACHE_BACKEND = 'caching.backends.locmem://'
# Auth - create a HMAC_KEY
HMAC_KEYS = {
#'2011-01-01': 'cheesecake',
}
debug = dict(level=logging.DEBUG)
LOGGING = {
'loggers': {
'django_browserid': debug,
},
}
Jump to Line
Something went wrong with that request. Please try again.