X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/1fbf854ce423d2d56723ff10608267403f4916b0..98e406af0cc6b5d9b94441ee3f6b67a64d4eb591:/redakcja/localsettings.sample diff --git a/redakcja/localsettings.sample b/redakcja/localsettings.sample index 6f99ddd3..f513c8ad 100644 --- a/redakcja/localsettings.sample +++ b/redakcja/localsettings.sample @@ -1,4 +1,5 @@ -# +# -*- coding: utf-8 -*- +# # localsettings template for Platforma # # Duplicate this file as localsettings.py and change it to your liking. @@ -8,20 +9,44 @@ # or localsettings.sample instead. # -# THIS IS REQUIRED -from redakcja.settings import * +import os.path + +from redakcja.settings.common import PROJECT_ROOT +from redakcja.settings.compress import PIPELINE # Path to repository with managed documents -WIKI_REPOSITORY_PATH = '/home/lrekucki/projekty/fundacja/books' +CATALOGUE_REPO_PATH = '/srv/redakcja/books' + +LOGGING_CONFIG_FILE = "/srv/redakcja/logging.cfg.dev" + +BASE_DIR = os.path.dirname(PROJECT_ROOT) + +STATIC_ROOT = os.path.join(BASE_DIR, 'var', 'static') +MEDIA_ROOT = os.path.join(BASE_DIR, 'var', 'media') +STATIC_URL = '/static/' +MEDIA_URL = '/media/' + -LOGGING_CONFIG_FILE = "/home/lrekucki/projekty/fundacja/redakcja/logging.cfg.dev" +# Subdirectory of MEDIA_ROOT containing images +IMAGE_DIR = 'images/' -STATIC_ROOT = '/home/lrekucki/projekty/fundacja/redakcja/redakcja/static/' -MEDIA_ROOT = '/home/lrekucki/projekty/fundacja/media/' +CAS_SERVER_URL = 'http://logowanie.nowoczesnapolska.org.pl/cas/' +CAS_VERSION = '1' + +REDMINE_URL = 'http://redmine.nowoczesnapolska.org.pl/' -# Subdirectory of STATIC_ROOT containing images -IMAGE_DIR = 'images' -CAS_SERVER_URL = 'http://logowanie.wolnelektury.pl/cas/' DEBUG = True -COMPRESS = False \ No newline at end of file +MAINTENANCE_MODE = False + +PIPELINE['PIPELINE_ENABLED'] = False + +APICLIENT_WL_CONSUMER_KEY = None +APICLIENT_WL_CONSUMER_SECRET = None + +CELERY_ALWAYS_EAGER = True + +SECRET_KEY = 'very secret' +ALLOWED_HOSTS = ['*'] + +EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'