pandora_sarai/README.md

27 lines
736 B
Markdown
Raw Normal View History

2019-07-14 13:55:58 +00:00
# pan.do/ra site config overlay
2019-10-10 16:05:44 +00:00
fork this repo into pandora_sitename and add your pan.do/ra customizations
2019-07-14 13:55:58 +00:00
place your config as config.jsonc, add custom files to static/js, poster scripts to scripts
custom files should be in the form <file>.<sitename>.js
i.e. js overlay:
static/js/home.<sitename>.js
png overly the same i.e.
static/png/icon.<sitename>.png
poster/icon script without <sitename>:
script/item_icon.py
script/list_icon.py
script/potser.py
if you need a custom django module, touch __init__.py and install.py will take care of that too.
to use js pages from other sites, add them to overwrite in install.py
to deploy, checkout your fork into /srv/pandora/pandora/<sitename> and run ./install.py