Page:
Customization
Pages
0x_id
API
Configuration
Customization
DatabaseUpdate
Docker
GoogleMapsAPI
Home
IMDb
MultilingualAnnotations
MultipleAudioTracks
MyFavoriteBugs
Places
QuerySyntax
RenamingFiles
UpgradeTo14.04
UpgradeTo16.04
UpgradeTo18.04
UpgradeTo20.04
UpgradeToPython3
UseCases
WikipediaTemplate
config
database backup
embed
filenames
groups
ids
install
ldap
media
metadata
objects
permissions
posterservice
services
shell
ssl
text
todo
urls
video
volume
No results
2
Customization
j edited this page 2019-07-18 10:01:43 +00:00
Table of Contents
Customizing pan.do/ra
the best way to cusotmize pan.do/ra ist to create an overlay repository
cd /srv/pandora/
git clone https://code.0x2620.org/0x2620/pandora_overlay.git <sitename>
now configure config.jsonc and add custom JavaScript files and images. i.e.
cd /srv/pandora/<sitename>
cp /srv/pandora/pandora/config.padma.jsonc config.jsonc
mkdir -p static/js
cp /srv/pandora/static/js/infoView.padma.js static/js/infoView.<sitename>.js
vim config.jsonc
to active / update run:
cd /srv/pandora/<sitename>
./install.py
after installation or updates, you also have to update static files:
cd /srv/pandora
./update.py static