View Single Post
Old 12-08-2020, 03:56 PM   #1784
Freakeao
Connoisseur
Freakeao began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Nov 2012
Device: none
Native (non-docker install):
copy templates/bootstrap2 into your current install
and also copy util.js from my repo over the util.js in your current install.

update config_local.php to include
Quote:
$config['cops_template'] = 'bootstrap2';
I've submitted a pull request to support more templates, but until that is merged you will have to edit config_local.php to select this template.

For a docker install (which is how i have COPS installed) I mounted a couple extra volumes pointed at my development directories.

Quote:
volumes:
- /opt/appdata/cops:/config
- /mnt/storage/media/Books:/books
#extra dirs to use bootstrap2
- /mnt/storage/github/cops/util.js:/usr/share/webapps/cops/util.js
- /mnt/storage/github/cops/templates:/usr/share/webapps/cops/templates
Freakeao is offline   Reply With Quote