• Download Gist
Example settings for running Flother locally
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
import os
 
from flother.settings.common import *
 
 
DEBUG = True
TEMPLATE_DEBUG = True
 
SITE_ID = 1
 
ADMINS = (
('Your name', 'your@email.com'),
)
MANAGERS = ADMINS
 
# This will create an SQLite database in the flother/flother directory.
DATABASE_ENGINE = 'sqlite3'
DATABASE_NAME = os.path.join(SITE_ROOT, 'sqlite3.db')
 
DEFAULT_FROM_EMAIL = ADMINS[0][1]
SERVER_EMAIL = ADMINS[0][1]
EMAIL_HOST = '' # For example, 'smtp.gmail.com'.
EMAIL_HOST_PASSWORD = ''
EMAIL_HOST_USER = ADMINS[0][1]
EMAIL_SUBJECT_PREFIX = '[Flother clone] '
EMAIL_USE_TLS = True # Check if you need this (you do for Gmail).
 
SECRET_KEY = '' # Fill this with a random string.
 
# Get an Akismet API key from http://akismet.com/personal/.
AKISMET_API_KEY = ''
 
# Get an Flickr API key from http://www.flickr.com/services/api/keys/.
FLICKR_API_KEY = ''
FLICKR_API_SECRET = ''
 
# Find your NSID under "Your user ID" from the Flickr API explorer:
# http://www.flickr.com/services/api/explore/?method=flickr.people.getInfo
FLICKR_NSID = '42348675@N00'
 
COMPRESS = False
 
INTERNAL_IPS = ('127.0.0.1',)
 
# This is where the static cached version of the site will go. This is only
# really useful in production, so just put this somewhere out of the way.
WEB_ROOT = '' # For example, /tmp/flother/.

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.