From 64659a5c5f08419d8e67a639746ad33e0f9fa0e6 Mon Sep 17 00:00:00 2001 From: j Date: Sun, 14 Jul 2019 13:48:11 +0000 Subject: [PATCH] Update page 'Configuration' --- Configuration.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Configuration.md b/Configuration.md index 0d519dc..095e705 100644 --- a/Configuration.md +++ b/Configuration.md @@ -18,6 +18,7 @@ located at /srv/pandora/pandora/local_settings.py BROKER_USER = "pandora" BROKER_PASSWORD = "" BROKER_VHOST = "/pandora" + * location of site.jsonc SITE_CONFIG = '/srv/pandora/pandora/SITENAME.jsonc' @@ -25,10 +26,13 @@ located at /srv/pandora/pandora/local_settings.py * use an external data service, i.e.: DATA_SERVICE = 'https://data.0xdb.org/api/' + * webserver integration: +* * nginx: XACCELREDIRECT = True + * apache: XSENDFILE = True @@ -41,18 +45,23 @@ located at /srv/pandora/pandora/local_settings.py * 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. ## poster/icon scripts + if you customize your scripts, replace poster.py, item_icon.py or list_icon.py with your version. ## logo, icon + to customize your sites logo, icon replace static/png/logo.png or static/png/icon.png ## customize views + you can customize views or javascript files. i.e. to customize the welcome screen, copy static/js/pandora/home.js to static/js/pandora/home.SITEID.js (SITEID as defined in config.jsonc site.id) and change it. once you are done, run manage.py update_static