-
Download (and unpack) the whole DivinumOfficium repository.
-
Install docker for your operating system. (On Windows, you can use Docker Desktop or Rancher Desktop with dockerd routine.)
-
Open a terminal and navigate to the root folder of the DivinumOfficium files. Run the following command:
docker-compose -f docker-compose-generator.yml run generator bash
-
A shell should open. Execute the command to generate the breviary files (see the Examples section below), e.g.:
./epubgen2.sh
You can find the resulting files in the standalone\tools\epubgen2\output
folder.
-
Start a linux shell. (On Windows, you can use Windows Subsystem for Linux (WSL): Run
wsl --install
from a terminal as an administrator to install WSL. Then restart your machine. You can then access a linux shell by runningwsl
.) -
Install GIT and PERL and other prerequisites:
sudo apt-get update && sudo apt-get install -y git curl wget apache2 libcgi-session-perl bsdmainutils zip libwww-perl
-
Clone the DivinumOfficium repository:
git clone https://github.com/DivinumOfficium/divinum-officium.git
-
Navigate to the standalone folder within the repository:
cd divinum-officium/standalone/tools/epubgen2/
-
Execute the command to generate the breviary files (see the Examples section below), e.g.:
./epubgen2.sh
On Windows, you can easily access the resulting files from the Windows Explorer.
./epubgen2.sh
./epubgen2.sh -m
./epubgen2.sh -y 2023 -t 2025
./epubgen2.sh -y 2023 -t 2024 -r DA
You can use Kindlegen to convert EPUB format to MOBI format.
Run the following commands on in a terminal on the host machine as an administrator:
wsl --shutdown
netsh winsock reset
netsh int ip reset all
netsh winhttp reset proxy
ipconfig /flushdns