Update page 'Configuration'

j 2019-07-14 13:48:11 +00:00
parent b1c4a9538c
commit 64659a5c5f

@ -18,6 +18,7 @@ located at /srv/pandora/pandora/local_settings.py
BROKER_USER = "pandora" BROKER_USER = "pandora"
BROKER_PASSWORD = "" BROKER_PASSWORD = ""
BROKER_VHOST = "/pandora" BROKER_VHOST = "/pandora"
* location of site.jsonc * location of site.jsonc
SITE_CONFIG = '/srv/pandora/pandora/SITENAME.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.: * use an external data service, i.e.:
DATA_SERVICE = 'https://data.0xdb.org/api/' DATA_SERVICE = 'https://data.0xdb.org/api/'
* webserver integration: * webserver integration:
*
* nginx: * nginx:
XACCELREDIRECT = True XACCELREDIRECT = True
* apache: * apache:
XSENDFILE = True 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 * enable debug output in http responds, otherwise a traceback will be available in Debug->View Logs... for admins
DEBUG=False DEBUG=False
## config.jsonc ## config.jsonc
look at config.0xdb.jsonc, config.pandora.jsonc and config.padma.jsonc to get an idea of available options for now. look at config.0xdb.jsonc, config.pandora.jsonc and config.padma.jsonc to get an idea of available options for now.
## poster/icon scripts ## poster/icon scripts
if you customize your scripts, replace poster.py, item_icon.py or list_icon.py with your version. if you customize your scripts, replace poster.py, item_icon.py or list_icon.py with your version.
## logo, icon ## logo, icon
to customize your sites logo, icon replace static/png/logo.png or static/png/icon.png to customize your sites logo, icon replace static/png/logo.png or static/png/icon.png
## customize views ## customize views
you can customize views or javascript files. 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 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 (SITEID as defined in config.jsonc site.id) and change it. once you are done, run manage.py update_static