diff --git a/Configuration.md b/Configuration.md index 095e705..609ab1a 100644 --- a/Configuration.md +++ b/Configuration.md @@ -4,6 +4,7 @@ located at /srv/pandora/pandora/local_settings.py * your database connection, i.e.: +``` DATABASES = { 'default': { 'NAME': 'pandora', @@ -12,40 +13,57 @@ located at /srv/pandora/pandora/local_settings.py 'PASSWORD': '', } } +``` + * celery settings +``` BROKER_PORT = 5672 BROKER_USER = "pandora" BROKER_PASSWORD = "" BROKER_VHOST = "/pandora" +``` + * location of site.jsonc +``` SITE_CONFIG = '/srv/pandora/pandora/SITENAME.jsonc' +``` * use an external data service, i.e.: - DATA_SERVICE = 'https://data.0xdb.org/api/' +``` +DATA_SERVICE = 'https://data.0xdb.org/api/' +``` * webserver integration: * * nginx: +``` XACCELREDIRECT = True - +``` + * apache: +``` XSENDFILE = True +``` * serve videos from other domain. to avoid some issues with browsers or for other reasons you might want to use another domain for your videos. several variables are expanded from the prefix: {uid}, {uid42}, {id}, {part} +``` VIDEO_PREFIX = "//video{uid}.pad.ma" SESSION_COOKIE_DOMAIN = ".pad.ma" +``` * enable debug output in http responds, otherwise a traceback will be available in Debug->View Logs... for admins +``` DEBUG=False - +``` + ## config.jsonc look at config.0xdb.jsonc, config.pandora.jsonc and config.padma.jsonc to get an idea of available options for now.