§Stirling-PDF
§Install using Git
If you are a git user, you can install the theme and keep up to date by cloning the repo:
git clone https://github.com/dracula/stirling-pdf.git
§Install manually
Download using the GitHub .zip download option and unzip them.
§Activating theme
If you don't have Stirling-PDF installed, you can do so with the following docker-compose.yaml:
version: "3.3"
services:
stirling-pdf:
image: frooodle/s-pdf:latest
ports:
- "8080:8080"
volumes:
- /path/to/data/directory:/usr/share/tesseract-ocr/5/tessdata #Required for extra OCR languages
- /path/to/configs/directory:/configs
- /path/to/customFiles/directory:/customFiles/
- /path/to/logs/directory:/logs/
environment:
- DOCKER_ENABLE_SECURITY=false # Set to true to enable basic auth
- SECURITY_ENABLE_LOGIN=false # Optional: If DOCKER_ENABLE_SECURITY is true, set this to true to enable login screen-
First, create a
staticdirectory in your/path/to/configs/directory. Inside thatstaticdirectory, create a directory calledcss. -
Inside that
cssdirectory (ex:/path/to/configs/directory/static/css), create acssfile calleddark-mode.css. -
Inside your
dark-mode.cssfile in your/path/to/configs/directory/static/css, paste the contents of dark-mode and save the file to apply the theme.This is what you directory structure should look like if your
/path/to/configs/directoryis something like/home/bob/MyContainers/StirlingPDF/custom_files:home ├── bob | ├── MyContainers | | ├── StirlingPDF | | | ├── custom_files | | | | ├── static | | | | | ├── css | | | | | | ├── dark-mode.css -
Boom! It's working ✨
